public class TrapeziumShape extends ParameterizedProfile
name, properties
Constructor and Description |
---|
TrapeziumShape()
Constructor of
TrapeziumShape |
Modifier and Type | Method and Description |
---|---|
double |
getBottomXDim()
Gets the extent of the bottom line measured along the x-axis.
|
Vector2 |
getExtent()
Gets the extent in x and y dimension.
|
double |
getTopXDim()
Gets the extent of the top line measured along the x-axis.
|
double |
getTopXOffset()
Gets the offset from the beginning of the top line to the bottom line.
|
double |
getYDim()
Gets the distance between the top and bottom lines measured along the y-axis.
|
void |
setBottomXDim(double value)
Sets the extent of the bottom line measured along the x-axis.
|
void |
setTopXDim(double value)
Sets the extent of the top line measured along the x-axis.
|
void |
setTopXOffset(double value)
Sets the offset from the beginning of the top line to the bottom line.
|
void |
setYDim(double value)
Sets the distance between the top and bottom lines measured along the y-axis.
|
getEntityRendererKey
getBoundingBox, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode
getScene
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
public TrapeziumShape()
TrapeziumShape
public double getBottomXDim()
public void setBottomXDim(double value)
value
- New valuepublic double getTopXDim()
public void setTopXDim(double value)
value
- New valuepublic double getYDim()
public void setYDim(double value)
value
- New valuepublic double getTopXOffset()
public void setTopXOffset(double value)
value
- New valuepublic Vector2 getExtent()
getExtent
in class ParameterizedProfile