Margin
Contents
[
Hide
]Margin class
Specifies the margin.
new Margin(value, unit)
Constructor.
Methods
| Name | Description |
|---|---|
| equals(value) | Are objects equal. |
| getUnit() | Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant. |
| getValue() | Specifies the margin. |
| hashCode() | Serves as a hash function for a particular type. |
| setUnit() | Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant. |
| setValue() | Specifies the margin. |
equals(value)
Are objects equal.
| Parameter | Type | Description |
|---|---|---|
| value | Object |
Returns: boolean — boolean
getUnit()
Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant.
getValue()
Specifies the margin.
hashCode()
Serves as a hash function for a particular type.
Returns: Number — Number
setUnit()
Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant.
setValue()
Specifies the margin.