public class Transformation
extends Matrix
Modifier and Type | Field and Description |
---|---|
static ly.img.android.sdk.models.chunk.Transformation.Evaluator |
EVALUATOR |
Constructor and Description |
---|
Transformation() |
Transformation(Matrix matrix) |
Modifier and Type | Method and Description |
---|---|
static Transformation |
calculateDiff(Transformation from,
Transformation to) |
Transformation |
getInverted() |
float |
getRotation() |
float |
getScale() |
float[] |
getTranslation() |
float[] |
getValues() |
void |
mapRectInside(RectF rect,
boolean fit) |
void |
reverseMapRect(RectF sourceRect,
java.math.BigDecimal aspect) |
void |
reverseMapRect(RectF sourceRect,
float aspect) |
void |
set(Transformation src,
Transformation dest,
float interpolation) |
void |
setTo(float scale,
float rotation,
boolean horizontalFlipped,
float[] sourcePoint,
float[] destinationPoint) |
public static final ly.img.android.sdk.models.chunk.Transformation.Evaluator EVALUATOR
public Transformation()
public Transformation(Matrix matrix)
public static Transformation calculateDiff(Transformation from, Transformation to)
public Transformation getInverted()
public float getRotation()
public float getScale()
public float[] getTranslation()
public float[] getValues()
public void mapRectInside(RectF rect, boolean fit)
public void reverseMapRect(RectF sourceRect, java.math.BigDecimal aspect)
public void reverseMapRect(RectF sourceRect, float aspect)
public void set(Transformation src, Transformation dest, float interpolation)
public void setTo(float scale, float rotation, boolean horizontalFlipped, float[] sourcePoint, float[] destinationPoint)