GoDiagram Web Reference
DrawRoundedRectangle Method (GoShape)

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
Draw a possibly filled rounded rectangle.
Syntax
'Declaration
 
Public Shared Sub DrawRoundedRectangle( _
   ByVal g As Graphics, _
   ByVal view As GoView, _
   ByVal pen As Pen, _
   ByVal brush As Brush, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal w As Single, _
   ByVal h As Single, _
   ByVal cw As Single, _
   ByVal ch As Single _
) 
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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoShape Class
GoShape Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback