Margin
Contents
[
Hide
]Margin class
Specifies the margin.
Constructors
| Name | Description |
|---|---|
| Margin | Constructor. |
Properties
| Name | Type | Description |
|---|---|---|
| Unit | int | Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant. |
| Value | float | Specifies the margin. |
Methods
| Name | Description |
|---|---|
| equals | Are objects equal. |
| hashCode | Serves as a hash function for a particular type. |
Margin(value, unit)
Constructor.
| Parameter | Type | Description |
|---|---|---|
| value | float | |
| unit | int | A 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.
| Parameter | Type | Description |
|---|---|---|
| value | Object |
hashCode()
Serves as a hash function for a particular type.