public class CadSize extends Object
The Cad size
Constructor and Description |
---|
CadSize(double valueWidth,
double valueHeight)
Initializes a new instance of the
CadSize class. |
CadSize(int attributeWidth,
int attributeHeight)
Initializes a new instance of the
CadSize class. |
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Gets or sets the height.
|
double |
getWidth()
Gets or sets the Width.
|
void |
setHeight(double value)
Gets or sets the height.
|
void |
setWidth(double value)
Gets or sets the Width.
|
String |
toString()
Returns a
System.String that represents this instance. |
Dimension |
truncate()
Gets the point.
|
public CadSize(double valueWidth, double valueHeight)
Initializes a new instance of the CadSize
class.
valueWidth
- Width of the value.valueHeight
- Height of the value.public CadSize(int attributeWidth, int attributeHeight)
Initializes a new instance of the CadSize
class.
attributeWidth
- Width of the attribute.attributeHeight
- Height of the attribute.public double getWidth()
Gets or sets the Width.
public void setWidth(double value)
Gets or sets the Width.
public double getHeight()
Gets or sets the height.
public void setHeight(double value)
Gets or sets the height.
public Dimension truncate()
Gets the point.
System.Drawing.Size
.