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






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

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

 Syntax

Java  Copy Code

public ShapeNode createShapeNode (
    PointF location,
    Dimension size
)

 Parameters

location
The position of the new node.
size
The size 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. 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