Margin

Margin class

Specifies the margin.

Constructors

NameDescription
MarginConstructor.

Properties

NameTypeDescription
UnitintRepresents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant.
ValuefloatSpecifies the margin.

Methods

NameDescription
equalsAre objects equal.
hashCodeServes as a hash function for a particular type.

Margin(value, unit)

Constructor.

ParameterTypeDescription
valuefloat
unitintA MeasureConst value.

Margin.Unit property

Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant.

Type: int

Margin.Value property

Specifies the margin.

Type: float

equals(value)

Are objects equal.

ParameterTypeDescription
valueObject

hashCode()

Serves as a hash function for a particular type.