GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoObject Class / SpotOpposite Method
A predefined or user-defined integer spot or handle ID.
In This Topic
    SpotOpposite Method
    In This Topic
    Get the spot that is on the opposite side of a given spot.
    Syntax
    public virtual int SpotOpposite( 
       int spot
    )

    Parameters

    spot
    A predefined or user-defined integer spot or handle ID.

    Return Value

    The opposite spot for the standard nine object spots. For other values, it just returns that value.
    Remarks
    This is typically used by methods that position objects in a group (such as GoGroup.LayoutChildren) or that specify link points for ports (e.g. GoPort.GoPort.ToSpot). You may want to override this method to handle your own custom spot values, those with a value greater than
    See Also