public class RectangleShape extends ParameterizedProfile
name, properties| Constructor and Description |
|---|
RectangleShape()
Constructor of
RectangleShape |
| Modifier and Type | Method and Description |
|---|---|
Vector2 |
getExtent()
Gets the extent in x and y dimension.
|
double |
getRoundingRadius()
Gets the radius of the circular arcs of all four corners, measured in degrees.
|
double |
getXDim()
Gets the extent of the rectangle in the direction of x-axis
Default value is 2.0
|
double |
getYDim()
Gets the extent of the rectangle in the direction of y-axis
Default value is 2.0
|
void |
setRoundingRadius(double value)
Sets the radius of the circular arcs of all four corners, measured in degrees.
|
void |
setXDim(double value)
Sets the extent of the rectangle in the direction of x-axis
Default value is 2.0
|
void |
setYDim(double value)
Sets the extent of the rectangle in the direction of y-axis
Default value is 2.0
|
getEntityRendererKeygetBoundingBox, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNodegetScenefindProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setPropertypublic RectangleShape()
RectangleShapepublic double getRoundingRadius()
public void setRoundingRadius(double value)
value - New valuepublic double getXDim()
public void setXDim(double value)
value - New valuepublic double getYDim()
public void setYDim(double value)
value - New valuepublic Vector2 getExtent()
getExtent in class ParameterizedProfile