Language
The Free and Open Productivity Suite
:: com :: sun :: star :: awt ::
|
unpublished |
constants group ImageScaleMode |
|
|
- Usage Restrictions
- not published
- Description
- defines modes how an image displayed in a given area should be scaled to fit this area
|
Constants |
NONE |
specifies that no scaling should happen at all
|
ISOTROPIC |
specifies that the image should be scaled up or down to the size of the surrounding area isotropicly,
i.e. by keeping its aspect ratio.
|
ANISOTROPIC |
specifies that the image should be scaled up or down to the size of the surrounding area anisotropically.
|
Constants' Details |
NONE
const short NONE = 0;
- Description
- specifies that no scaling should happen at all
|
|
ISOTROPIC
const short ISOTROPIC = 1;
- Description
- specifies that the image should be scaled up or down to the size of the surrounding area isotropicly,
i.e. by keeping its aspect ratio.
|
|
ANISOTROPIC
const short ANISOTROPIC = 2;
- Description
- specifies that the image should be scaled up or down to the size of the surrounding area anisotropically.
The image will finally cover all of the surrounding area, but its dimensions might be distorted.
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.