CadSize
Contents
[
Hide
]The Cad size
Constructors
| Constructor | Description |
|---|---|
| CadSize(double width, double height) | Initializes a new instance of the CadSize class. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| width | double | Width of the value. |
| height | double | Height 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.