public class CadSize extends Object
The Cad size
Constructor and Description |
---|
CadSize() |
CadSize(double valueWidth,
double valueHeight)
Initializes a new instance of the
CadSize class. |
Modifier and Type | Method and Description |
---|---|
static CadSize |
fromAttributes(int attributeWidth,
int attributeHeight)
Initializes a new instance of the
CadSize class. |
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() |
public CadSize()
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 static CadSize fromAttributes(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()
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.