GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoHandle Class / ContainsPoint Method
A PointF value in document coordinates.
In This Topic
    ContainsPoint Method (GoHandle)
    In This Topic
    Determines if the given point is inside this handle's bounds.
    Syntax
    public override bool ContainsPoint( 
       PointF p
    )

    Parameters

    p
    A PointF value in document coordinates.

    Return Value

    True if the point is considered "on" the handle.
    Remarks
    This assumes that handles are actually hollow when the HandleID is GoObject.NoHandle-- that is, a point well inside the handle's bounds is not considered "on" the handle if the handle's ID is GoObject.NoHandle. This is useful for letting bounding handles be ignored by mouse over behavior. Note that this method does not take the Style into account--it assumes the handle is rectangular.
    See Also