public class ImageResizeMode
extends java.lang.Object
Constructor and Description |
---|
ImageResizeMode() |
Modifier and Type | Method and Description |
---|---|
static android.graphics.Shader.TileMode |
defaultTileMode() |
static ScalingUtils.ScaleType |
defaultValue()
This is the default as per web and iOS.
|
static ScalingUtils.ScaleType |
toScaleType(java.lang.String resizeModeValue)
Converts JS resize modes into
ScalingUtils.ScaleType . |
static android.graphics.Shader.TileMode |
toTileMode(java.lang.String resizeModeValue)
Converts JS resize modes into
Shader.TileMode . |
public static ScalingUtils.ScaleType toScaleType(@Nullable java.lang.String resizeModeValue)
ScalingUtils.ScaleType
.
See ImageResizeMode.js
.public static android.graphics.Shader.TileMode toTileMode(@Nullable java.lang.String resizeModeValue)
Shader.TileMode
.
See ImageResizeMode.js
.public static ScalingUtils.ScaleType defaultValue()
public static android.graphics.Shader.TileMode defaultTileMode()