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 class
ShadowMatrix.Picker
Shadow picker forMatrix
. -
Field Summary
-
Constructor Summary
Constructors Constructor Description ShadowMatrix()
-
Method Summary
Modifier and Type Method Description abstract String
getDescription()
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 Details
-
TRANSLATE
- See Also:
- Constant Field Values
-
SCALE
- See Also:
- Constant Field Values
-
ROTATE
- See Also:
- Constant Field Values
-
SINCOS
- See Also:
- Constant Field Values
-
SKEW
- See Also:
- Constant Field Values
-
MATRIX
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ShadowMatrix
public ShadowMatrix()
-
-
Method Details
-
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
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
A map of all 'set' operations performed on this Matrix.- Returns:
- A map of all 'set' operations performed on this Matrix.
-
getDescription
-