public class Margin
| Constructor Summary |
|---|
Margin(doublevalue, intunit)
Constructor. |
| Property Getters/Setters Summary | ||
|---|---|---|
int | getUnit() | |
void | setUnit(intvalue) | |
| Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant. | ||
double | getValue() | |
void | setValue(doublevalue) | |
| Specifies the margin. | ||
| Method Summary | ||
|---|---|---|
boolean | equals(java.lang.Object value) | |
Are objects equal.
|
||
int | hashCode() | |
Serves as a hash function for a particular type.
|
||
public Margin(double value, int unit)
value - unit - A public int getUnit() / public void setUnit(int value)
public double getValue() / public void setValue(double value)