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 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

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.
getBoundingBox()BoundingBoxReturns the bounding box.
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.
getScene()SceneConstructor of RectangleShape.
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.

See Also