DroidDiagram Programmer's Guide
Shape Constructor (ElementTemplate[], int, String)
See Also
 






Initializes a new Shape instance by setting its outline, fill rule and shape identifier.

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

 Syntax

Java  Copy Code

public Shape (
    ElementTemplate[] outline,
    int windingRule,
    String id
)

 Parameters

outline

An array of ElementTemplate objects representing the shape outline, which specifies what region of a node is filled,used for hit-testing and for aligning link end point to the node.

windingRule

GeneralPath.WIND_EVEN_ODD or GeneralPath.WIND_NON_ZERO.

id

An unique String identifier of this shape.

 See Also

Shape Constructor Overload List
Shape Class
com.mindfusion.diagramming Namespace