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






Creates a new ShapeNode instance at the specified position with the specified size and shape.

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

 Syntax

Java  Copy Code

public ShapeNode createShapeNode (
    PointF location,
    Dimension size,
    Shape shape
)

 Parameters

location
The position of the new node.
size
The size 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 at the position specified by location. The size of the node is set by size. 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