GoDiagram Web Reference
DrawRectangle Method (GoShape)

Draw a possibly filled rectangle or square.
Syntax
'Declaration
 
Public Shared Sub DrawRectangle( _
   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 width As Single, _
   ByVal height As Single _
) 
public static void DrawRectangle( 
   Graphics g,
   GoView view,
   Pen pen,
   Brush brush,
   float x,
   float y,
   float width,
   float height
)

Parameters

g
view
pen
brush
x
y
width
height
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