Search
Shape.GetRenderingPath Method
See Also
 





Returns a GraphicsPath object corresponding to the outline of the shape when rotated at the specified angle. That GraphicsPath can be used when drawing the shape's outline.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public GraphicsPath GetRenderingPath (
    RectangleF nodeBounds,
    float rotationAngle,
    float orientation,
    bool flipX,
    bool flipY,
    Dictionary<string, ShapeFormulaParam> formulaParams
)

Visual Basic  Copy Code

Public Function GetRenderingPath( _
    nodeBounds As RectangleF, _
    rotationAngle As Single, _
    orientation As Single, _
    flipX As Boolean, _
    flipY As Boolean, _
    formulaParams As Dictionary(Of String, ShapeFormulaParam) _
) As GraphicsPath

 Parameters

nodeBounds

The bounding rectangle of the ShapeNode.

rotationAngle

The node's rotation angle.

orientation

The shape's orientation angle.

flipX

true to flip the path horizontally, or false otherwise.

flipY

true to flip the path vertically, or false otherwise.

formulaParams

A list of ShapeFormulaParam objects specifying the current positions of shape control points.

 Return Value

A GraphicsPath representing the shape's outline.

 See Also