MindFusion.Java Package Programmer's Guide
Factory.createSvgNode Method (Point2D, Dimension2D, String)
See Also
 






Creates a new SvgNode instance at the specified position with the specified size and adds it to the Nodes collection of the underlying diagram. The method creates a svg node at the position specified by location. The size of the node is set by size.

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

 Syntax

Java  Copy Code

public SvgNode createSvgNode (
    Point2D location,
    Dimension2D size,
    String svgUrl
)

 Parameters

location

The position of the new node.

size

The size 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