GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / ExpandPointOnEdge Method
In This Topic
    ExpandPointOnEdge Method
    In This Topic
    This is a convenience method for shifting a point on the edge of the given rectangle's bounds out by some distance.
    Syntax
    public static PointF ExpandPointOnEdge( 
       PointF p,
       RectangleF rect,
       float shift
    )

    Parameters

    p
    rect
    shift

    Return Value

    if p had been on the edge of the rectangle, the value will be shifted out by the shift in either or both directions; otherwise the unmodified p is returned
    See Also