Class DisplayableObject

java.lang.Object
com.microblink.blinkid.metadata.DisplayableObject
Direct Known Subclasses:
DisplayableDetection, DisplayableOcrResult

public abstract class DisplayableObject extends 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
    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

    Modifier and Type
    Method
    Description
    final android.graphics.Matrix
    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 Details

    • mTransformMatrix

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

    • DisplayableObject

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

    • 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