RectangleShape

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 31 methods for working with RectangleShape objects in Java programs. Available methods include: A3DObject, Entity, ParameterizedProfile, Profile, RectangleShape, SceneObject, findProperty, getBoundingBox, getEntityRendererKey, getExcluded, getExtent, getName, and 16 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

NameTypeAccessDescription
roundingRadiusdoubleReadGets the radius of the circular arcs of all four corners, measured in degrees.
xDimdoubleReadGets the extent of the rectangle in the direction of x-axis.
yDimdoubleReadGets the extent of the rectangle in the direction of y-axis.
extentVector2ReadGets the extent in x and y dimension.
boundingBoxBoundingBoxReadGets the bounding box.
parentNodeNodeReadGets the parent node.
parentNodesArrayList<Node>ReadGets the parent nodes.
excludedbooleanReadGets the excluded.
entityRendererKeyEntityRendererKeyReadGets the entity renderer key.
sceneSceneReadGets the scene.
nameStringReadGets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
RectangleShape()Constructor of RectangleShape.
getRoundingRadius() → doubleGets 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() → doubleGets 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() → doubleGets 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() → Vector2Gets the extent in x and y dimension.
ParameterizedProfile()Constructor.
Profile()Constructor.
getBoundingBox() → BoundingBoxReturns the bounding box.
Entity(name: String)Constructor of RectangleShape.
getParentNode() → NodeReturns the parent node.
setParentNode(value: Node)Sets the parent node value.
getParentNodes() → ArrayList<Node>Returns the parent nodes.
getExcluded() → booleanReturns 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() → EntityRendererKeyReturns the entity renderer key.
SceneObject()IFC compatible rectangular shape with rounding corners.
SceneObject(name: String)Calls SceneObject(name) on this RectangleShape instance.
getScene() → SceneConstructor of RectangleShape.
A3DObject()Calls A3DObject on this RectangleShape instance.
A3DObject(name: String)Calls A3DObject(name) on this RectangleShape instance.
getName() → StringReturns the name.
setName(name: String)Sets the name value.
getProperties() → PropertyCollectionGets the radius of the circular arcs of all four corners, measured in degrees. Default value is 0.0.
findProperty(name: String) → PropertyCalls findProperty(name) on this RectangleShape instance.
getProperty(name: String) → ObjectCalls getProperty(name) on this RectangleShape instance.
setProperty(name: String, value: Object)Sets the property value.
removeProperty(name: String) → booleanCalls removeProperty(name) on this RectangleShape instance.
removeProperty(property: Property) → booleanCalls removeProperty(property) on this RectangleShape instance.

See Also