DrawFilledPolygon Statement:
Draw filled Polygon
Object.DrawFilledPolygon
Points, n
|
Parametrs:
Points-array of x, y coordinate pairs in consecutive order
n- number of x and y coordinates
|
Sample:
Dim Points(7)
Points(0) = 0 ‘x1
Points(1) = 0 ‘y1
Points(2) = 10 ‘x2
Points(3) = 10 ‘y2
Points(4) = 10 ‘x3
Points(5) = 0 ‘y3
object.DrawFilledPolygon
Points,6
This method draws a filled polygon. You can use simple color, gradient or brush
fill types by calling setColor , SetBrush or SetGradient methods.
See also
DrawFilledPolygon,DrawPolygon,SetColor,
SetLineWidth,SetGradient,ClearGradient,SetImageIndex,
SetColor,SetBrush,
ClearBrush
More samples:
Brush
Circle,
Arc, ,
Ellipse, Brush,
Polygon, Pie
Gradient
Arc,
Besier, Circle,
Ellipse,
Gradient, Pie,
Polygon,
Rectangle, Unclosed
polygon
Primitive
Arc,
Beziers, Circle,
Ellipse,
Line, Pie,
Rectangle, Unclosed
polygon, Unclosed
polygon
|
|