DroidDiagram Programmer's Guide
Factory.createContainerNode Method (double, double, double, double)
See Also
 






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

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

 Syntax

Java  Copy Code

public ContainerNode createContainerNode (
    double x,
    double y,
    double width,
    double height
)

 Parameters

x
The x-coordinate of the upper-left corner of the new node.
y
The y-coordinate of the upper-left corner of the new node.
width
The width of the new node.
height
The height of the new node.

 Return Value

The newly created ContainerNode instance.

 Remarks

The method creates a container node at the position specified by x and y. The size of the node is set by width and height. For further customization of the node, use the methods of the ContainerNode class.

 See Also

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