Package org.robolectric.shadows
Class ShadowMatrix
- java.lang.Object
-
- org.robolectric.shadows.ShadowMatrix
-
- Direct Known Subclasses:
ShadowLegacyMatrix,ShadowNativeMatrix
@Implements(value=android.graphics.Matrix.class, shadowPicker=Picker.class) public abstract class ShadowMatrix extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowMatrix.PickerShadow picker forMatrix.
-
Constructor Summary
Constructors Constructor Description ShadowMatrix()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract StringgetDescription()abstract List<String>getPostOperations()A list of all 'post' operations performed on this Matrix.abstract List<String>getPreOperations()A list of all 'pre' operations performed on this Matrix.abstract Map<String,String>getSetOperations()A map of all 'set' operations performed on this Matrix.
-
-
-
Field Detail
-
TRANSLATE
public static final String TRANSLATE
- See Also:
- Constant Field Values
-
SCALE
public static final String SCALE
- See Also:
- Constant Field Values
-
ROTATE
public static final String ROTATE
- See Also:
- Constant Field Values
-
SINCOS
public static final String SINCOS
- See Also:
- Constant Field Values
-
SKEW
public static final String SKEW
- See Also:
- Constant Field Values
-
MATRIX
public static final String MATRIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPreOperations
public abstract List<String> getPreOperations()
A list of all 'pre' operations performed on this Matrix. The last operation performed will be first in the list.- Returns:
- A list of all 'pre' operations performed on this Matrix.
-
getPostOperations
public abstract List<String> getPostOperations()
A list of all 'post' operations performed on this Matrix. The last operation performed will be last in the list.- Returns:
- A list of all 'post' operations performed on this Matrix.
-
getSetOperations
public abstract Map<String,String> getSetOperations()
A map of all 'set' operations performed on this Matrix.- Returns:
- A map of all 'set' operations performed on this Matrix.
-
getDescription
public abstract String getDescription()
-
-