Xamarin Pack Programmer's Guide
Shape.GetHitPath Method (Rectangle, Double, Double)
See Also
 






Returns a IGraphicsPath object corresponding to the outline of the specified shape when rotated at the specified angle. This IGraphicsPath can be used for hit-testing and intersection checks.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public IGraphicsPath GetHitPath (
    Rectangle nodeBounds,
    double rotationAngle,
    double orientation
)

Visual Basic  Copy Code

Public Function GetHitPath( _
    nodeBounds As Rectangle, _
    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.

 See Also

GetHitPath Method Overload List
Shape Members
Shape Class
MindFusion.Diagramming Namespace