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