public class ImageResizeMode
extends java.lang.Object
| Constructor and Description |
|---|
ImageResizeMode() |
| Modifier and Type | Method and Description |
|---|---|
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. |
public static ScalingUtils.ScaleType toScaleType(@Nullable
java.lang.String resizeModeValue)
ScalingUtils.ScaleType.
See ImageResizeMode.js.public static ScalingUtils.ScaleType defaultValue()