Polygon Method

Object List Next Object

Defined By:
Drawable

Description:

Draws a polygon starting at the first point, and drawing to each sucessive vertex given in the arrays. The polygon is closed automatically by drawing a final line from the last point to the first point.

Declaration:

Sub Polygon (x() As Single, y() As Single, ByVal count As Long)


Syntax Description


x(), y() Array of points.

count Number of points in the x() and y() arrays.

Details:

Polygon uses the FillStyle and FillColor properties to determine the appearance of its interior. It uses the DrawStyle, DrawWidth, and DrawColor properties to determine the appearance of the shape's outline when it is drawn.

See Also:

DrawColor, DrawMode, DrawStyle, FillStyle, FillColor properties