Constructor Summary |
---|
Margin(value, unit)
Constructor. |
Property Getters/Setters Summary | ||
---|---|---|
method | getUnit() | |
method | setUnit(value) | |
Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant. | ||
method | getValue() | |
method | setValue(value) | |
Specifies the margin. |
Method Summary | ||
---|---|---|
method | equals(value) | |
Are objects equal.
|
||
method | hashCode() | |
Serves as a hash function for a particular type.
|
Margin(value, unit)
value: float
- unit: int
- A int getUnit() / setUnit(value)
float getValue() / setValue(value)