GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoObject Class / GetRectangleSpotLocation Method
a RectangleF
a predefine or user-defined integer spot or handle ID.
In This Topic
    GetRectangleSpotLocation Method
    In This Topic
    Get the position of a spot in a rectangle.
    Syntax
    public virtual PointF GetRectangleSpotLocation( 
       RectangleF r,
       int spot
    )

    Parameters

    r
    a RectangleF
    spot
    a predefine or user-defined integer spot or handle ID.

    Return Value

    the PointF position of that spot in the rectangle
    Remarks
    This is typically used by methods that need to position objects within a group. You may want to override this method to handle your own custom spot values, those with a value greater than LastSpot. If you do so, you will also need to override SetRectangleSpotLocation and SpotOpposite.
    See Also