java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.caverock.androidsvg.PreserveAspectRatio.Scale |
Determine whether the scaled document fills the viewport entirely or is scaled to fill the viewport without overflowing.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PreserveAspectRatio.Scale | Meet | The document is scaled so that it is as large as possible without overflowing the viewport. | |||||||||
PreserveAspectRatio.Scale | Slice | The document is scaled so that entirely fills the viewport. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static PreserveAspectRatio.Scale | valueOf(String name) | ||||||||||
final static Scale[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
The document is scaled so that it is as large as possible without overflowing the viewport. There may be blank areas on one or more sides of the document.
The document is scaled so that entirely fills the viewport. That means that some of the document may fall outside the viewport and will not be rendered.