Class CroppingState
- Namespace
- IO.Scanbot.Sdk.Ui_v2.Document.Screen.Crop
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui_v2/document/screen/crop/CroppingState", DoNotGenerateAcw = true)]
public sealed class CroppingState : Object, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
CroppingState
- Implements
-
- Inherited Members
-
Constructors
CroppingState()
[Register(".ctor", "()V", "")]
public CroppingState()
CroppingState(Page)
[Register(".ctor", "(Lio/scanbot/sdk/docprocessing/Page;)V", "")]
public CroppingState(Page page)
Parameters
page
Page
CroppingState(IList<PointF>, int)
[Register(".ctor", "(Ljava/util/List;I)V", "")]
public CroppingState(IList<PointF> initialPolygon, int defaultRotation)
Parameters
initialPolygon
IList<PointF>
defaultRotation
int
Properties
DocumentDetectionStatus
public IMutableStateFlow DocumentDetectionStatus { get; }
Property Value
- IMutableStateFlow
HorizontalLines
public IMutableStateFlow HorizontalLines { get; }
Property Value
- IMutableStateFlow
Polygon
public IMutableStateFlow Polygon { get; }
Property Value
- IMutableStateFlow
Rotation
public IMutableStateFlow Rotation { get; }
Property Value
- IMutableStateFlow
VerticalLines
public IMutableStateFlow VerticalLines { get; }
Property Value
- IMutableStateFlow
Methods
GetPolygonType()
[Register("getPolygonType", "()Lkotlinx/coroutines/flow/MutableStateFlow;", "")]
public IMutableStateFlow GetPolygonType()
Returns
- IMutableStateFlow
OnPolygonChanged(IList<PointF>, DocumentDetectionStatus, PolygonType)
[Register("onPolygonChanged", "(Ljava/util/List;Lio/scanbot/sdk/core/contourdetector/DocumentDetectionStatus;Lio/scanbot/sdk/ui_v2/document/screen/crop/CroppingState$PolygonType;)V", "")]
public void OnPolygonChanged(IList<PointF> polygon, DocumentDetectionStatus documentDetectionStatus, CroppingState.PolygonType changeType)
Parameters
polygon
IList<PointF>
documentDetectionStatus
DocumentDetectionStatus
changeType
CroppingState.PolygonType
Reset()
[Register("reset", "()V", "")]
public void Reset()
RotateCW()
[Register("rotateCW", "()V", "")]
public void RotateCW()