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
|
getEntityRendererKey
getBoundingBox, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode
getScene
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
public RectangleShape()
RectangleShape
public 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