DrawUnclosedPolygon Statement:
Draw unclosed polygon (first point is not connected to the last one)
Object.DrawUnclosedPolygon
Points, n
|
Parameters:
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.DrawUnclosedPolygon
Points,6
This method draws an unclosed polygon. Before calling DrawUnclosedPolygon method you may define line color and thickness with SetColor and SetLineWidth methods
See also
DrawFilledPolygon,DrawPolygon,
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
|
|