MindFusion.Java Package Programmer's Guide
Factory.createSvgNode Method (Rectangle2D, String)
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,
    String svgUrl
)

 Parameters

bounds

The bounding rectangle of the new node.

svgUrl

The URL used to load an SVG file into SvgNode

 Return Value

The newly created SvgNode instance.

 See Also

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