Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.