Class OcrLine

  • All Implemented Interfaces:
    android.os.Parcelable

    public class OcrLine
    extends java.lang.Object
    implements android.os.Parcelable
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<OcrLine> CREATOR  
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      OcrLine​(long nativePtr, OcrBlock parentBlock)  
    • Field Detail

      • CREATOR

        @NonNull
        public static final android.os.Parcelable.Creator<OcrLine> CREATOR
    • Constructor Detail

      • OcrLine

        public OcrLine​(long nativePtr,
                       @Nullable
                       OcrBlock parentBlock)
    • Method Detail

      • getPosition

        @Nullable
        public Rectangle getPosition()
        Returns:
        the position
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(@NonNull
                                  android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable