GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / DrawRoundedRectangle Method
the rectangle width
the rectangle height
the desired corner radius width, actually limited by half the width w
the desired corner radius height, actually limited by half the height h
In This Topic
    DrawRoundedRectangle Method (GoShape)
    In This Topic
    Draw a possibly filled rounded rectangle.
    Syntax
    public static void DrawRoundedRectangle( 
       Graphics g,
       GoView view,
       Pen pen,
       Brush brush,
       float x,
       float y,
       float w,
       float h,
       float cw,
       float ch
    )

    Parameters

    g
    view
    pen
    brush
    x
    y
    w
    the rectangle width
    h
    the rectangle height
    cw
    the desired corner radius width, actually limited by half the width w
    ch
    the desired corner radius height, actually limited by half the height h
    See Also