DroidDiagram Programmer's Guide
Factory.createShapeNode Method (Rectangle2D, Shape)
See Also
 






Creates a new ShapeNode instance with the specified dimensions and shape.

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

 Syntax

Java  Copy Code

public ShapeNode createShapeNode (
    RectF bounds,
    Shape shape
)

 Parameters

bounds
The bounding rectangle of the new node.
shape
The shape of the new node.

 Return Value

The newly created ShapeNode instance.

 Remarks

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

 See Also

createShapeNode Method Overload List
Factory Members
Factory Class
com.mindfusion.diagramming Namespace