public class CircleShape extends ParameterizedProfile
LinearExtrusion
name, properties
Constructor and Description |
---|
CircleShape()
Construct a
CircleShape profile with default radius(5). |
CircleShape(double radius)
Construct a
CircleShape profile with specified radius. |
Modifier and Type | Method and Description |
---|---|
Vector2 |
getExtent()
Gets the extent in x and y dimension.
|
double |
getRadius()
Gets the radius of the circle.
|
void |
setRadius(double value)
Sets the radius of the circle.
|
getEntityRendererKey
getBoundingBox, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode
getScene
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
public CircleShape()
CircleShape
profile with default radius(5).public CircleShape(double radius)
CircleShape
profile with specified radius.radius
- public double getRadius()
public void setRadius(double value)
value
- New valuepublic Vector2 getExtent()
getExtent
in class ParameterizedProfile