Share via


Graphics.drawPolyline

Class Overview | Class Members | This Package | All Packages

Syntax

public abstract void drawPolyline( int xPoints[], int yPoints[], int nPoints )

Parameters
  • xPoints
    an array of x points
  • yPoints
    an array of y points
  • nPoints
    the total number of points
Description

Draws a sequence of connected lines defined by arrays of x and y coordinates. Each pair of (xy) coordinates defines a point. The figure is not closed if the first point differs from the last point.

See Also

drawPolygon