Class EdgeInsets
[Register("io/scanbot/sdk/ui_v2/common/EdgeInsets", DoNotGenerateAcw = true)]
public sealed class EdgeInsets : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
EdgeInsets
- Implements
- Inherited Members
Constructors
EdgeInsets()
[Register(".ctor", "()V", "")]
public EdgeInsets()
EdgeInsets(JSONObject)
[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public EdgeInsets(JSONObject json)
Parameters
json
JSONObject
EdgeInsets(IDictionary<string, Object>)
[Register(".ctor", "(Ljava/util/Map;)V", "")]
public EdgeInsets(IDictionary<string, Object> source)
Parameters
source
IDictionary<string, Object>
EdgeInsets(double, double, double, double)
[Register(".ctor", "(DDDD)V", "")]
public EdgeInsets(double top, double left, double bottom, double right)
Parameters
Properties
Bottom
public double Bottom { get; set; }
Property Value
Creator
[Register("CREATOR")]
public static IParcelableCreator Creator { get; }
Property Value
Left
public double Left { get; set; }
Property Value
Right
public double Right { get; set; }
Property Value
Top
public double Top { get; set; }
Property Value
Methods
Component1()
[Register("component1", "()D", "")]
public double Component1()
Returns
Component2()
[Register("component2", "()D", "")]
public double Component2()
Returns
Component3()
[Register("component3", "()D", "")]
public double Component3()
Returns
Component4()
[Register("component4", "()D", "")]
public double Component4()
Returns
Copy(double, double, double, double)
[Register("copy", "(DDDD)Lio/scanbot/sdk/ui_v2/common/EdgeInsets;", "")]
public EdgeInsets Copy(double top, double left, double bottom, double right)
Parameters
Returns
Default()
[Register("default", "()Lio/scanbot/sdk/ui_v2/common/EdgeInsets;", "")]
public static EdgeInsets Default()
Returns
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
.
android.os.Parcelable.describeContents()
Portions of this page are modifications based on work created and shared by the
ToJson(ToJsonConfiguration)
[Register("toJson", "(Lio/scanbot/sdk/common/ToJsonConfiguration;)Lorg/json/JSONObject;", "")]
public JSONObject ToJson(ToJsonConfiguration config)
Parameters
config
ToJsonConfiguration
Returns
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
Parcelflags
ParcelableWriteFlagsAdditional flags about how the object should be written. May be 0 or
#PARCELABLE_WRITE_RETURN_VALUE
.
Remarks
.
android.os.Parcelable.writeToParcel(android.os.Parcel, int)
Portions of this page are modifications based on work created and shared by the