ASP Painter
Home
Home
Samples
Samples
Purchase
Purchase
Download
Download
Documentation
Documentation


ASPPainter DrawFilledRectangle

DrawFilledRectangle Statement:

Draw filled rectangle

Object.DrawFilledRectangle 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.DrawFilledRectangle 50, 50, 100, 100

This method draws a filled Rectangle. You can use simple color, gradient or brush fill types by calling setColor , SetBrush or SetGradient methods.

See also

DrawFilledRectangle,DrawRectangle,SetColor, SetLineWidth,SetGradient,ClearGradient,SetImageIndex,SetBrush, ClearBrush

More samples:


Brush
Circle, ArcEllipse, 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



home samples purchase documentation download