public class ScanBit extends Object implements Comparable
Instruction to paint points xFrom to xTo on line y.
What I don't understand: why do values get summed to determine the pixel type?
© 2002 Christian Treber, ct@ctreber.com
| Constructor and Description |
|---|
ScanBit(int pY,
int pLoX,
int pHiX,
int pType) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
int |
getlXFrom() |
int |
getType()
See values for
|
int |
getXTo() |
int |
getY() |
public int compareTo(Object o)
compareTo in interface Comparablepublic int getY()
public int getlXFrom()
public int getXTo()
public int getType()
See values for
PolygonCopyright © 2017. All rights reserved.