Table of Contents

Class EditPolygonImageView

Namespace
IO.Scanbot.Sdk.UI
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/EditPolygonImageView", DoNotGenerateAcw = true)]
public sealed class EditPolygonImageView : FrameLayout, Drawable.ICallback, IAccessibilityEventSource, KeyEvent.ICallback, IViewManager, IViewParent, IJavaObject, IJavaPeerable, IDisposable
Inheritance
EditPolygonImageView
Implements
Inherited Members

Constructors

EditPolygonImageView(Context, IAttributeSet)

[Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public EditPolygonImageView(Context context, IAttributeSet attrs)

Parameters

context Context
attrs IAttributeSet

Properties

DefaultPolygon

public static IList<PointF> DefaultPolygon { get; }

Property Value

IList<PointF>

Drawable

public Drawable Drawable { get; }

Property Value

Drawable

FullPolygonSelected

public bool FullPolygonSelected { get; set; }

Property Value

bool

PointsDraggable

public bool PointsDraggable { get; set; }

Property Value

bool

Polygon

public IList<PointF> Polygon { get; set; }

Property Value

IList<PointF>

Methods

RotateClockwise()

[Register("rotateClockwise", "()V", "")]
public void RotateClockwise()

RotateCounterClockwise()

[Register("rotateCounterClockwise", "()V", "")]
public void RotateCounterClockwise()

SetAnchorPointsColor(int)

[Register("setAnchorPointsColor", "(I)V", "")]
public void SetAnchorPointsColor(int color)

Parameters

color int

SetEdgeColor(int)

[Register("setEdgeColor", "(I)V", "")]
public void SetEdgeColor(int color)

Parameters

color int

SetEdgeColorOnLine(int)

[Register("setEdgeColorOnLine", "(I)V", "")]
public void SetEdgeColorOnLine(int color)

Parameters

color int

SetEdgeWidth(float)

[Register("setEdgeWidth", "(F)V", "")]
public void SetEdgeWidth(float width)

Parameters

width float

SetImageBitmap(Bitmap)

[Register("setImageBitmap", "(Landroid/graphics/Bitmap;)V", "")]
public void SetImageBitmap(Bitmap bitmap)

Parameters

bitmap Bitmap

SetLines(IList<Line2D>, IList<Line2D>)

[Register("setLines", "(Ljava/util/List;Ljava/util/List;)V", "")]
public void SetLines(IList<Line2D> horizontalLines, IList<Line2D> verticalLines)

Parameters

horizontalLines IList<Line2D>
verticalLines IList<Line2D>

SetMagnifier(MagnifierView)

[Register("setMagnifier", "(Lio/scanbot/sdk/ui/MagnifierView;)V", "")]
public void SetMagnifier(MagnifierView magnifier)

Parameters

magnifier MagnifierView

SetRotationAnimated(float)

[Register("setRotationAnimated", "(F)V", "")]
public void SetRotationAnimated(float rotation)

Parameters

rotation float