DrawRectangle Statement:
Draw rectangle
Object.DrawRectangle
x1, y1, x2, y2
|
Parameters:
x1,y1- coordinates of the top left corner of the rectangle
x2,y2- coordinates of the bottom right corner of the rectangle
|
Sample: object.DrawRectangle
50, 50, 100, 100
This method draws a Rectangle. Before calling DrawRectangle method you may
define line color and thickness with SetColor and SetLineWidth methods
See also
DrawFilledRectangle,DrawRectangle,SetColor,
SetLineWidth,SetGradient,ClearGradient,SetImageIndex,SetBrush,
ClearBrush
More samples:
Brush
Circle,
Arc, Ellipse,
Brush,
Polygon, Pie
Diagram
Chart,
Pie
Gradient
Arc,
Besier, Circle,
Ellipse,
Gradient, Pie,
Polygon,
Rectangle, Unclosed
polygon
Primitive
Arc,
Beziers, Circle,
Ellipse,
Line, Pie,
Rectangle, Unclosed
polygon, Unclosed
polygon
|
|