MindFusion.Java Package Programmer's Guide
Factory.createSvgNode Method (Rectangle2D, SvgContent)
See Also
 






Creates a new SvgNode instance with the specified dimensions and adds it to the Nodes collection of the underlying diagram. The method creates a svg node with dimensions specified by bounds.

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

 Syntax

Java  Copy Code

public SvgNode createSvgNode (
    Rectangle2D bounds,
    SvgContent svgContent
)

 Parameters

bounds

The bounding rectangle of the new node.

svgContent

The SvgContent instance representing the SVG drawing rendered in SvgNode

 Return Value

The newly created SvgNode instance.

 See Also

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