asposediagram.api

Specifies the margin.

Constructor Summary
Margin(value, unit)
Constructor.
 
Property Getters/Setters Summary
methodgetUnit()
method
setUnit(value)
           Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant.
methodgetValue()
method
setValue(value)
           Specifies the margin.
 
Method Summary
methodequals(value)
Are objects equal.
methodhashCode()
Serves as a hash function for a particular type.
 

    • Constructor Detail

      • Margin

        Margin(value, unit)
        Constructor.
        Parameters:
        value: float -
        unit: int - A MeasureConst value.
    • Property Getters/Setters Detail

      • getUnit/setUnit : int 

        int getUnit() / setUnit(value)
        
        Represents a unit of measure. The default is DP. The value of the property is MeasureConst integer constant.
      • getValue/setValue : float 

        float getValue() / setValue(value)
        
        Specifies the margin.
    • Method Detail

      • equals

        boolean equals(value)
        Are objects equal.
        Parameters:
        value: Object -
        Returns:
      • hashCode

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