DroidDiagram Programmer's Guide
Path.getWeight Method
See Also
 






Gets the total weight of this path.

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

 Syntax

Java  Copy Code

public float getWeight (
    boolean includeNodes,
    boolean includeLinks
)

 Parameters

includeNodes

true to include node weights in the total weight sum, otherwise false.

includeLinks

true to include link weights in the total weight sum, otherwise false.

 Return Value

A float value specifying the path weight.

 See Also

Path Members
Path Class
com.mindfusion.diagramming Namespace