Class SAIRectangle2D
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.geometry2d.SAIRectangle2D
- All Implemented Interfaces:
Rectangle2D,X3DGeometryNode,X3DNode
A concrete implementation of the Rectangle2D node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIRectangle2D(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIRectangle2D
public SAIRectangle2D(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
node-nodeFactory-fieldFactory-queue-
-
-
Method Details
-
getSolid
public boolean getSolid()Return the solid boolean value.- Specified by:
getSolidin interfaceRectangle2D- Returns:
- The solid boolean value.
-
setSolid
public void setSolid(boolean val) Set the solid field.- Specified by:
setSolidin interfaceRectangle2D- Parameters:
val- The boolean to set.
-
getSize
public void getSize(float[] val) Return the size value in the argument float[]- Specified by:
getSizein interfaceRectangle2D- Parameters:
val- The float[] to initialize.
-
setSize
public void setSize(float[] val) Set the size field.- Specified by:
setSizein interfaceRectangle2D- Parameters:
val- The float[] to set.
-