The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

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

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

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