public class PrimitiveNodeSize
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
length |
protected java.lang.Object |
width |
Constructor and Description |
---|
PrimitiveNodeSize(java.lang.Object width,
java.lang.Object length,
boolean widthOnX)
Constructor creates a PrimitiveNodeSize with a given size.
|
Modifier and Type | Method and Description |
---|---|
double |
getDoubleAlongX()
Method to get correct value along X axis.
|
double |
getDoubleAlongY()
Method to get correct value along Y axis.
|
double |
getDoubleLength()
Gets the length *ONLY IF* the length can be converted to a double.
|
double |
getDoubleWidth()
Gets the width *ONLY IF* the width can be converted to a double.
|
java.lang.Object |
getLength()
Method to return the length of this TransistorSize.
|
java.lang.String |
getLengthInString()
Method to return the actual length of the element based on the object
used to store the information.
|
java.lang.Object |
getWidth()
Method to return the width of this TransistorSize.
|
java.lang.String |
getWidthInString()
Method to return the actual width of the element based on the object
used to store the information.
|
protected final java.lang.Object width
protected final java.lang.Object length
public PrimitiveNodeSize(java.lang.Object width, java.lang.Object length, boolean widthOnX)
width
- the width of the PrimitiveNodeSize.length
- the length of the PrimitiveNodeSize.widthOnX
- public java.lang.Object getWidth()
public java.lang.Object getLength()
public double getDoubleWidth()
public double getDoubleLength()
public double getDoubleAlongX()
public double getDoubleAlongY()
public java.lang.String getWidthInString()
public java.lang.String getLengthInString()