Search
Shape.GetRenderingPath Method (Rect, Double, Double)
See Also
 






Returns an IGraphicsPath object corresponding to the outline of the shape when rotated at the specified angle. This IGraphicsPath can (and should) be used when drawing the shape's outline.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public IGraphicsPath GetRenderingPath (
    Rect nodeBounds,
    double rotationAngle,
    double orientation
)

Visual Basic  Copy Code

Public Function GetRenderingPath( _
    nodeBounds As Rect, _
    rotationAngle As Double, _
    orientation As Double _
) As IGraphicsPath

 Parameters

nodeBounds

The bounding rectangle of the ShapeNode.

rotationAngle

The node's rotation angle.

orientation

The shape's orientation angle.

 Return Value

An IGraphicsPath representing the shape's outline.

 Remarks

This method returns an empty IGraphicsPath when EnableOutline is set to false regardless of the contents of the Outline property.

 See Also