ComponentOne FlexChart for WinForms
DrawRect Method


C1.Chart Namespace > IRenderEngine Interface : DrawRect Method
x-coordinate of rectangle.
y-coordinate of rectangle.
Rectangle width.
Rectangle height.
Draw rectangle with currect stroke and fill.
Syntax
'Declaration
 
Sub DrawRect( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal w As Double, _
   ByVal h As Double _
) 
'Usage
 
Dim instance As IRenderEngine
Dim x As Double
Dim y As Double
Dim w As Double
Dim h As Double
 
instance.DrawRect(x, y, w, h)
void DrawRect( 
   double x,
   double y,
   double w,
   double h
)

Parameters

x
x-coordinate of rectangle.
y
y-coordinate of rectangle.
w
Rectangle width.
h
Rectangle height.
See Also

Reference

IRenderEngine Interface
IRenderEngine Members