-
public class ZoomApi.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerTYPE_ZOOMprivate final IntegerTYPE_REAL_ZOOMprivate final IntegerTRANSFORMATION_CENTER_INSIDEprivate final IntegerTRANSFORMATION_CENTER_CROPprivate final IntegerTRANSFORMATION_NONEprivate final IntegerTRANSFORMATION_GRAVITY_AUTOprivate final FloatMIN_ZOOM_DEFAULTprivate final IntegerMIN_ZOOM_DEFAULT_TYPEprivate final FloatMAX_ZOOM_DEFAULTprivate final IntegerMAX_ZOOM_DEFAULT_TYPEprivate final IntegerALIGNMENT_DEFAULTpublic final static ZoomApi.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final IntegergetTYPE_ZOOM()Flag for zoom constraints and settings. final IntegergetTYPE_REAL_ZOOM()Flag for zoom constraints and settings. final IntegergetTRANSFORMATION_CENTER_INSIDE()Constant for ZoomApi.setTransformation. final IntegergetTRANSFORMATION_CENTER_CROP()Constant for ZoomApi.setTransformation. final IntegergetTRANSFORMATION_NONE()Constant for ZoomApi.setTransformation. final IntegergetTRANSFORMATION_GRAVITY_AUTO()Constant for ZoomApi.setTransformation gravity. final FloatgetMIN_ZOOM_DEFAULT()The default setMinZoom applied by the engine if none is specified. final IntegergetMIN_ZOOM_DEFAULT_TYPE()The default setMinZoom type applied by the engine if none is specified. final FloatgetMAX_ZOOM_DEFAULT()The default setMaxZoom applied by the engine if none is specified. final IntegergetMAX_ZOOM_DEFAULT_TYPE()The default setMaxZoom type applied by the engine if none is specified. final IntegergetALIGNMENT_DEFAULT()The default value for setAlignment. -
-
Method Detail
-
getTYPE_ZOOM
final Integer getTYPE_ZOOM()
Flag for zoom constraints and settings. With ZoomApi.TYPE_ZOOM the constraint is measured over the zoom in ZoomApi.zoom. This is not the actual matrix scale value.
-
getTYPE_REAL_ZOOM
final Integer getTYPE_REAL_ZOOM()
Flag for zoom constraints and settings. With ZoomApi.TYPE_REAL_ZOOM the constraint is measured over the zoom in ZoomApi.realZoom, which is the actual scale you get in the matrix.
-
getTRANSFORMATION_CENTER_INSIDE
final Integer getTRANSFORMATION_CENTER_INSIDE()
Constant for ZoomApi.setTransformation. The content will be zoomed so that it fits completely inside the container.
-
getTRANSFORMATION_CENTER_CROP
final Integer getTRANSFORMATION_CENTER_CROP()
Constant for ZoomApi.setTransformation. The content will be zoomed so that its smaller side fits exactly inside the container. The larger side will be partially cropped.
-
getTRANSFORMATION_NONE
final Integer getTRANSFORMATION_NONE()
Constant for ZoomApi.setTransformation. No transformation will be applied, which means that both ZoomApi.zoom and ZoomApi.realZoom will return the same value.
-
getTRANSFORMATION_GRAVITY_AUTO
final Integer getTRANSFORMATION_GRAVITY_AUTO()
Constant for ZoomApi.setTransformation gravity. This means that the gravity will be inferred from the alignment or fallback to a reasonable default.
-
getMIN_ZOOM_DEFAULT
final Float getMIN_ZOOM_DEFAULT()
The default setMinZoom applied by the engine if none is specified.
-
getMIN_ZOOM_DEFAULT_TYPE
final Integer getMIN_ZOOM_DEFAULT_TYPE()
The default setMinZoom type applied by the engine if none is specified.
-
getMAX_ZOOM_DEFAULT
final Float getMAX_ZOOM_DEFAULT()
The default setMaxZoom applied by the engine if none is specified.
-
getMAX_ZOOM_DEFAULT_TYPE
final Integer getMAX_ZOOM_DEFAULT_TYPE()
The default setMaxZoom type applied by the engine if none is specified.
-
getALIGNMENT_DEFAULT
final Integer getALIGNMENT_DEFAULT()
The default value for setAlignment.
-
-
-
-