:: com :: sun :: star :: awt ::
|
unpublished |
constants group ImageScaleMode |
|
|
- 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 anisotropicly.
|
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 anisotropicly.
The image will finally cover all of the surrounding area, but its dimensions might be distorted.
|
|
Top of Page
Copyright © 2010 Sun Microsystems, Inc.