Class EditPolygonImageView
[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
Contextattrs
IAttributeSet
Properties
DefaultPolygon
public static IList<PointF> DefaultPolygon { get; }
Property Value
Drawable
public Drawable Drawable { get; }
Property Value
FullPolygonSelected
public bool FullPolygonSelected { get; set; }
Property Value
PointsDraggable
public bool PointsDraggable { get; set; }
Property Value
Polygon
public IList<PointF> Polygon { get; set; }
Property Value
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
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