RectangleShape
Overview
RectangleShape is a class in Aspose.3D FOSS for Java.
Inherits from: ParameterizedProfile.
IFC compatible rectangular shape with rounding corners.
This class provides 23 methods for working with RectangleShape objects in Java programs.
Available methods include: RectangleShape, findProperty, getBoundingBox, getEntityRendererKey, getExcluded, getExtent, getName, getParentNode, getParentNodes, getProperties, getProperty, getRoundingRadius, and 11 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: boundingBox, entityRendererKey, excluded, extent, name, parentNode, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
roundingRadius | double | Read | Gets the radius of the circular arcs of all four corners, measured in degrees. |
xDim | double | Read | Gets the extent of the rectangle in the direction of x-axis. |
yDim | double | Read | Gets the extent of the rectangle in the direction of y-axis. |
extent | Vector2 | Read | Gets the extent in x and y dimension. |
boundingBox | BoundingBox | Read | Gets the bounding box. |
parentNode | Node | Read | Gets the parent node. |
parentNodes | ArrayList<Node> | Read | Gets the parent nodes. |
excluded | boolean | Read | Gets the excluded. |
entityRendererKey | EntityRendererKey | Read | Gets the entity renderer key. |
scene | Scene | Read | Gets the scene. |
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
RectangleShape() | Constructor of RectangleShape. |
getRoundingRadius() → double | Gets the radius of the circular arcs of all four corners, measured in degrees. |
setRoundingRadius(value: double) | Sets the radius of the circular arcs of all four corners, measured in degrees. |
getXDim() → double | Gets the extent of the rectangle in the direction of x-axis. |
setXDim(value: double) | Sets the extent of the rectangle in the direction of x-axis. |
getYDim() → double | Gets the extent of the rectangle in the direction of y-axis. |
setYDim(value: double) | Sets the extent of the rectangle in the direction of y-axis. |
getExtent() → Vector2 | Gets the extent in x and y dimension. |
getBoundingBox() → BoundingBox | Returns the bounding box. |
getParentNode() → Node | Returns the parent node. |
setParentNode(value: Node) | Sets the parent node value. |
getParentNodes() → ArrayList<Node> | Returns the parent nodes. |
getExcluded() → boolean | Returns the excluded. |
setExcluded(value: boolean) | Sets the radius of the circular arcs of all four corners, measured in degrees. Default value is 0.0. |
getEntityRendererKey() → EntityRendererKey | Returns the entity renderer key. |
getScene() → Scene | Constructor of RectangleShape. |
getName() → String | Returns the name. |
setName(name: String) | Sets the name value. |
getProperties() → PropertyCollection | Gets the radius of the circular arcs of all four corners, measured in degrees. Default value is 0.0. |
findProperty(name: String) → Property | Calls findProperty(name) on this RectangleShape instance. |
getProperty(name: String) → Object | Calls getProperty(name) on this RectangleShape instance. |
setProperty(name: String, value: Object) | Sets the property value. |
removeProperty(name: String) → boolean | Calls removeProperty(name) on this RectangleShape instance. |