Table of Contents

Class PolygonStyle

Namespace
IO.Scanbot.Sdk.Ui_v2.Common
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui_v2/common/PolygonStyle", DoNotGenerateAcw = true)]
public sealed class PolygonStyle : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
PolygonStyle
Implements
Inherited Members

Constructors

PolygonStyle()

[Register(".ctor", "()V", "")]
public PolygonStyle()

PolygonStyle(ScanbotColor, ScanbotColor, double, double)

[Register(".ctor", "(Lio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;DD)V", "")]
public PolygonStyle(ScanbotColor strokeColor, ScanbotColor fillColor, double strokeWidth, double cornerRadius)

Parameters

strokeColor ScanbotColor
fillColor ScanbotColor
strokeWidth double
cornerRadius double

PolygonStyle(JSONObject)

[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public PolygonStyle(JSONObject json)

Parameters

json JSONObject

PolygonStyle(IDictionary<string, Object>)

[Register(".ctor", "(Ljava/util/Map;)V", "")]
public PolygonStyle(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

CornerRadius

public double CornerRadius { get; set; }

Property Value

double

Creator

[Register("CREATOR")]
public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

FillColor

public ScanbotColor FillColor { get; set; }

Property Value

ScanbotColor

StrokeColor

public ScanbotColor StrokeColor { get; set; }

Property Value

ScanbotColor

StrokeWidth

public double StrokeWidth { get; set; }

Property Value

double

Methods

Component1()

[Register("component1", "()Lio/scanbot/sdk/ui_v2/common/ScanbotColor;", "")]
public ScanbotColor Component1()

Returns

ScanbotColor

Component2()

[Register("component2", "()Lio/scanbot/sdk/ui_v2/common/ScanbotColor;", "")]
public ScanbotColor Component2()

Returns

ScanbotColor

Component3()

[Register("component3", "()D", "")]
public double Component3()

Returns

double

Component4()

[Register("component4", "()D", "")]
public double Component4()

Returns

double

Copy(ScanbotColor, ScanbotColor, double, double)

[Register("copy", "(Lio/scanbot/sdk/ui_v2/common/ScanbotColor;Lio/scanbot/sdk/ui_v2/common/ScanbotColor;DD)Lio/scanbot/sdk/ui_v2/common/PolygonStyle;", "")]
public PolygonStyle Copy(ScanbotColor strokeColor, ScanbotColor fillColor, double strokeWidth, double cornerRadius)

Parameters

strokeColor ScanbotColor
fillColor ScanbotColor
strokeWidth double
cornerRadius double

Returns

PolygonStyle

Default()

[Register("default", "()Lio/scanbot/sdk/ui_v2/common/PolygonStyle;", "")]
public static PolygonStyle Default()

Returns

PolygonStyle

DescribeContents()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.

[Register("describeContents", "()I", "")]
public int DescribeContents()

Returns

int

a bitmask indicating the set of special object types marshaled by this Parcelable object instance.

Remarks

Java documentation for

android.os.Parcelable.describeContents()
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ToJson()

[Register("toJson", "()Lorg/json/JSONObject;", "")]
public JSONObject ToJson()

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or #PARCELABLE_WRITE_RETURN_VALUE.

Remarks

Java documentation for

android.os.Parcelable.writeToParcel(android.os.Parcel, int)
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.