Class ShadowMatrix


  • @Implements(android.graphics.Matrix.class)
    public class ShadowMatrix
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MATRIX  
      static java.lang.String ROTATE  
      static java.lang.String SCALE  
      static java.lang.String SINCOS  
      static java.lang.String SKEW  
      static java.lang.String TRANSLATE  
    • Constructor Summary

      Constructors 
      Constructor Description
      ShadowMatrix()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void __constructor__​(android.graphics.Matrix src)  
      boolean equals​(java.lang.Object obj)  
      protected java.awt.geom.AffineTransform getAffineTransform()  
      java.lang.String getDescription()  
      java.util.List<java.lang.String> getPostOperations()
      A list of all 'post' operations performed on this Matrix.
      java.util.List<java.lang.String> getPreOperations()
      A list of all 'pre' operations performed on this Matrix.
      java.util.Map<java.lang.String,​java.lang.String> getSetOperations()
      A map of all 'set' operations performed on this Matrix.
      protected void getValues​(float[] values)  
      int hashCode()  
      protected boolean invert​(android.graphics.Matrix inverse)  
      protected boolean isAffine()  
      protected boolean isIdentity()  
      android.graphics.PointF mapPoint​(float x, float y)  
      android.graphics.PointF mapPoint​(android.graphics.PointF point)  
      protected void mapPoints​(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount)  
      protected float mapRadius​(float radius)  
      protected boolean mapRect​(android.graphics.RectF destination, android.graphics.RectF source)  
      protected void mapVectors​(float[] dst, int dstIndex, float[] src, int srcIndex, int vectorCount)  
      protected boolean postConcat​(android.graphics.Matrix other)  
      protected boolean postRotate​(float degrees)  
      protected boolean postRotate​(float degrees, float px, float py)  
      protected boolean postScale​(float sx, float sy)  
      protected boolean postScale​(float sx, float sy, float px, float py)  
      protected boolean postSkew​(float kx, float ky)  
      protected boolean postSkew​(float kx, float ky, float px, float py)  
      protected boolean postTranslate​(float dx, float dy)  
      protected boolean preConcat​(android.graphics.Matrix other)  
      protected boolean preRotate​(float degrees)  
      protected boolean preRotate​(float degrees, float px, float py)  
      protected boolean preScale​(float sx, float sy)  
      protected boolean preScale​(float sx, float sy, float px, float py)  
      protected boolean preSkew​(float kx, float ky)  
      protected boolean preSkew​(float kx, float ky, float px, float py)  
      protected boolean preTranslate​(float dx, float dy)  
      protected boolean rectStaysRect()  
      protected void reset()  
      protected void set​(android.graphics.Matrix src)  
      protected boolean setConcat​(android.graphics.Matrix a, android.graphics.Matrix b)  
      protected boolean setRectToRect​(android.graphics.RectF src, android.graphics.RectF dst, android.graphics.Matrix.ScaleToFit stf)  
      protected void setRotate​(float degrees)  
      protected void setRotate​(float degrees, float px, float py)  
      protected void setScale​(float sx, float sy)  
      protected void setScale​(float sx, float sy, float px, float py)  
      protected void setSinCos​(float sinValue, float cosValue)  
      protected void setSinCos​(float sinValue, float cosValue, float px, float py)  
      protected void setSkew​(float kx, float ky)  
      protected void setSkew​(float kx, float ky, float px, float py)  
      protected void setTranslate​(float dx, float dy)  
      protected void setValues​(float[] values)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowMatrix

        public ShadowMatrix()
    • Method Detail

      • __constructor__

        @Implementation
        protected void __constructor__​(android.graphics.Matrix src)
      • getPreOperations

        public java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.Map<java.lang.String,​java.lang.String> getSetOperations()
        A map of all 'set' operations performed on this Matrix.
        Returns:
        A map of all 'set' operations performed on this Matrix.
      • isIdentity

        @Implementation
        protected boolean isIdentity()
      • isAffine

        @Implementation(minSdk=21)
        protected boolean isAffine()
      • rectStaysRect

        @Implementation
        protected boolean rectStaysRect()
      • getValues

        @Implementation
        protected void getValues​(float[] values)
      • setValues

        @Implementation
        protected void setValues​(float[] values)
      • set

        @Implementation
        protected void set​(android.graphics.Matrix src)
      • reset

        @Implementation
        protected void reset()
      • setTranslate

        @Implementation
        protected void setTranslate​(float dx,
                                    float dy)
      • setScale

        @Implementation
        protected void setScale​(float sx,
                                float sy,
                                float px,
                                float py)
      • setScale

        @Implementation
        protected void setScale​(float sx,
                                float sy)
      • setRotate

        @Implementation
        protected void setRotate​(float degrees,
                                 float px,
                                 float py)
      • setRotate

        @Implementation
        protected void setRotate​(float degrees)
      • setSinCos

        @Implementation
        protected void setSinCos​(float sinValue,
                                 float cosValue,
                                 float px,
                                 float py)
      • setSinCos

        @Implementation
        protected void setSinCos​(float sinValue,
                                 float cosValue)
      • setSkew

        @Implementation
        protected void setSkew​(float kx,
                               float ky,
                               float px,
                               float py)
      • setSkew

        @Implementation
        protected void setSkew​(float kx,
                               float ky)
      • setConcat

        @Implementation
        protected boolean setConcat​(android.graphics.Matrix a,
                                    android.graphics.Matrix b)
      • preTranslate

        @Implementation
        protected boolean preTranslate​(float dx,
                                       float dy)
      • preScale

        @Implementation
        protected boolean preScale​(float sx,
                                   float sy,
                                   float px,
                                   float py)
      • preScale

        @Implementation
        protected boolean preScale​(float sx,
                                   float sy)
      • preRotate

        @Implementation
        protected boolean preRotate​(float degrees,
                                    float px,
                                    float py)
      • preRotate

        @Implementation
        protected boolean preRotate​(float degrees)
      • preSkew

        @Implementation
        protected boolean preSkew​(float kx,
                                  float ky,
                                  float px,
                                  float py)
      • preSkew

        @Implementation
        protected boolean preSkew​(float kx,
                                  float ky)
      • preConcat

        @Implementation
        protected boolean preConcat​(android.graphics.Matrix other)
      • postTranslate

        @Implementation
        protected boolean postTranslate​(float dx,
                                        float dy)
      • postScale

        @Implementation
        protected boolean postScale​(float sx,
                                    float sy,
                                    float px,
                                    float py)
      • postScale

        @Implementation
        protected boolean postScale​(float sx,
                                    float sy)
      • postRotate

        @Implementation
        protected boolean postRotate​(float degrees,
                                     float px,
                                     float py)
      • postRotate

        @Implementation
        protected boolean postRotate​(float degrees)
      • postSkew

        @Implementation
        protected boolean postSkew​(float kx,
                                   float ky,
                                   float px,
                                   float py)
      • postSkew

        @Implementation
        protected boolean postSkew​(float kx,
                                   float ky)
      • postConcat

        @Implementation
        protected boolean postConcat​(android.graphics.Matrix other)
      • invert

        @Implementation
        protected boolean invert​(android.graphics.Matrix inverse)
      • getAffineTransform

        protected java.awt.geom.AffineTransform getAffineTransform()
      • mapPoint

        public android.graphics.PointF mapPoint​(float x,
                                                float y)
      • mapPoint

        public android.graphics.PointF mapPoint​(android.graphics.PointF point)
      • mapRect

        @Implementation
        protected boolean mapRect​(android.graphics.RectF destination,
                                  android.graphics.RectF source)
      • mapPoints

        @Implementation
        protected void mapPoints​(float[] dst,
                                 int dstIndex,
                                 float[] src,
                                 int srcIndex,
                                 int pointCount)
      • mapVectors

        @Implementation
        protected void mapVectors​(float[] dst,
                                  int dstIndex,
                                  float[] src,
                                  int srcIndex,
                                  int vectorCount)
      • mapRadius

        @Implementation
        protected float mapRadius​(float radius)
      • setRectToRect

        @Implementation
        protected boolean setRectToRect​(android.graphics.RectF src,
                                        android.graphics.RectF dst,
                                        android.graphics.Matrix.ScaleToFit stf)
      • equals

        @Implementation
        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        @Implementation(minSdk=19)
        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getDescription

        public java.lang.String getDescription()