GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoRoundedRectangle Class
In This Topic
    GoRoundedRectangle Class
    In This Topic
    An object in the shape of a rectangle or square, whose corners are quarter ellipses at the corners of the bounding rectangle.
    public class GoRoundedRectangle : GoRectangle 
    Although by default all four corners are rounded by the value of Corner, you can control which ones are rounded by setting RoundedCornerSpots. For example, if you just want the top corners to be rounded-off, but you want to keep the bottom corners squared-off:
    r.RoundedCornerSpots = GoObject.TopLeft | GoObject.TopRight;
    See Also