Class SAIRectangle2D
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.geometry2d.SAIRectangle2D
- All Implemented Interfaces:
Rectangle2D,X3DGeometryNode,X3DNode
A concrete implementation of the Rectangle2D node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode -
Constructor Summary
ConstructorsConstructorDescriptionSAIRectangle2D(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
node-refQueue-fac-fal-bnf-
-
-
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.
-