Search
Factory.createShapeNode Method (Rectangle2D)
See Also
 

Creates a new ShapeNode instance with the specified dimensions.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public ShapeNode createShapeNode (
    Rectangle2D bounds
)

 Parameters

bounds
The bounding rectangle of the new node.

 Return Value

The newly created ShapeNode instance.

 Remarks

The method creates a shape node with dimensions specified by bounds. For further customization of the node, use the methods of the ShapeNode class.

 See Also