MindFusion.Wpf Pack Programmer's Guide
Utilities.PointInPolyRect Method
See Also
 





Determines if the specified point is within the smallest rectangle that encloses the specified polygon.

Namespace: MindFusion
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public static bool PointInPolyRect (
    Point[] poly,
    Point ptTest,
    ref Rect rBound
)

Visual Basic  Copy Code

Public Shared Function PointInPolyRect( _
    poly() As Point, _
    ptTest As Point, _
    ByRef rBound As Rect _
) As Boolean

 Parameters

poly

ptTest

rBound

 Return Value

true or false depending on whether the point is in the rect or not.

 See Also

Utilities Members
Utilities Class
MindFusion Namespace