CadSize

The Cad size

Constructors

ConstructorDescription
CadSize(double width, double height)Initializes a new instance of the CadSize class.

Methods

MethodDescription
getWidth()Gets or sets the Width.
setWidth(double value)Gets or sets the Width.
getHeight()Gets or sets the height.
setHeight(double value)Gets or sets the height.
truncate()Gets the point.
toString()Returns a String that represents this instance.

CadSize(double width, double height)

public CadSize(double width, double height)

Initializes a new instance of the CadSize class.

Parameters:

ParameterTypeDescription
widthdoubleWidth of the value.
heightdoubleHeight of the value.

getWidth()

public final double getWidth()

Gets or sets the Width.

Returns: double

setWidth(double value)

public final void setWidth(double value)

Gets or sets the Width.

getHeight()

public final double getHeight()

Gets or sets the height.

Returns: double

setHeight(double value)

public final void setHeight(double value)

Gets or sets the height.

truncate()

public final Dimension truncate()

Gets the point.

Returns: Dimension - The Dimension .

toString()

public String toString()

Returns a String that represents this instance.

Returns: String - A String that represents this instance.