Microsoft SDK for Java

drawScanLines

This method of the GraphicsX Class draws fast lines, either horizontally or vertically.

Syntax

public void drawScanLines(boolean xChanging, int[] points, int offset, int nPoints);

Parameters

xChanging The direction that the line is drawn, either vertically or horizontally.
points An array of points.
offset The offset to use.
nPoints The number of points in the array.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.