Class PolygonStyle
- Namespace
- IO.Scanbot.Sdk.Ui_v2.Common
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class PolygonStyle : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
PolygonStyle
- Implements
-
Constructors
PolygonStyle()
PolygonStyle(ScanbotColor, ScanbotColor, double, double)
public PolygonStyle(ScanbotColor strokeColor, ScanbotColor fillColor, double strokeWidth, double cornerRadius)
Parameters
strokeColor
ScanbotColor
fillColor
ScanbotColor
strokeWidth
double
cornerRadius
double
PolygonStyle(JSONObject)
public PolygonStyle(JSONObject json)
Parameters
json
JSONObject
PolygonStyle(IDictionary<string, Object>)
public PolygonStyle(IDictionary<string, Object> source)
Parameters
source
IDictionary<string, Object>
Properties
CornerRadius
public double CornerRadius { get; set; }
Property Value
- double
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()
public ScanbotColor Component1()
Returns
- ScanbotColor
Component2()
public ScanbotColor Component2()
Returns
- ScanbotColor
Component3()
public double Component3()
Returns
- double
Component4()
public double Component4()
Returns
- double
Copy(ScanbotColor, ScanbotColor, double, double)
public PolygonStyle Copy(ScanbotColor strokeColor, ScanbotColor fillColor, double strokeWidth, double cornerRadius)
Parameters
strokeColor
ScanbotColor
fillColor
ScanbotColor
strokeWidth
double
cornerRadius
double
Returns
- PolygonStyle
Default()
public static PolygonStyle Default()
Returns
- PolygonStyle
DescribeContents()
public int DescribeContents()
Returns
- int
ToJson(ToJsonConfiguration)
public JSONObject ToJson(ToJsonConfiguration config)
Parameters
config
ToJsonConfiguration
Returns
- JSONObject
WriteToParcel(Parcel, ParcelableWriteFlags)
public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)
Parameters
out
Parcel
flags
ParcelableWriteFlags