com.aspose.diagram
Class Margin

java.lang.Object
    extended by com.aspose.diagram.Margin

public class Margin 
extends java.lang.Object

Specifies the margin.


Constructor Summary
Margin(double value, int unit)
           Constructor.
 
Property Getters/Setters Summary
intgetUnit()
voidsetUnit(int)
           Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant.
doublegetValue()
voidsetValue(double)
           Specifies the margin.
 
Method Summary
booleanequals(java.lang.Object value)
           Are objects equal.
inthashCode()
           Serves as a hash function for a particular type.
 

Constructor Detail

Margin

public Margin(double value, int unit)
Constructor.
Parameters:
value -
unit - A MeasureConst value.

Property Getters/Setters Detail

getUnit/setUnit

public int getUnit() / public void setUnit(int value)
Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant.

getValue/setValue

public double getValue() / public void setValue(double value)
Specifies the margin.

Method Detail

equals

public boolean equals(java.lang.Object value)
Are objects equal.
Parameters:
value -
Returns:

hashCode

public int hashCode()
Serves as a hash function for a particular type.
Returns:

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.