Class DisplayableObject

  • Direct Known Subclasses:
    DisplayableDetection, DisplayableOcrResult

    public abstract class DisplayableObject
    extends java.lang.Object
    Represents any object that can be displayed on screen in terms of drawing.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected android.graphics.Matrix mTransformMatrix
      Transformation matrix containing the transformation from original coordinate system into view's coordinate system
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DisplayableObject​(float[] transformMatrix)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      android.graphics.Matrix getTransformMatrix()
      Returns the transformation matrix that can map coordinates from original coordinate system in which object was created into view's coordinate system.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mTransformMatrix

        @NonNull
        protected android.graphics.Matrix mTransformMatrix
        Transformation matrix containing the transformation from original coordinate system into view's coordinate system
    • Constructor Detail

      • DisplayableObject

        protected DisplayableObject​(@Size(9L) @NonNull
                                    float[] transformMatrix)
    • Method Detail

      • getTransformMatrix

        @NonNull
        public final android.graphics.Matrix getTransformMatrix()
        Returns the transformation matrix that can map coordinates from original coordinate system in which object was created into view's coordinate system.
        Returns:
        the transformation matrix