Creates a new ShapeNode instance at the specified position with the specified size and adds it to the Nodes collection of the underlying diagram.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public ShapeNode createShapeNode ( |
The newly created ShapeNode instance.
The method creates a shape 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 ShapeNode class.