java.lang.Object | |
↳ | org.libpag.PAGScaleMode |
Defines the values used in the setScaleMode method of PAGPlayer.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | LetterBox | The content is scaled with respect to the original unscaled image's aspect ratio. | |||||||||
int | None | The content is not scaled. | |||||||||
int | Stretch | The content is stretched to fit. | |||||||||
int | Zoom | The content is scaled to fit with respect to the original unscaled image's aspect ratio. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PAGScaleMode() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The content is scaled with respect to the original unscaled image's aspect ratio. This is the default value.
The content is not scaled.
The content is stretched to fit.
The content is scaled to fit with respect to the original unscaled image's aspect ratio. This results in cropping on one axis.