com.ctreber.acearth.scanbit
Class ScanBit

java.lang.Object
  extended by com.ctreber.acearth.scanbit.ScanBit
All Implemented Interfaces:
Comparable

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, [email protected]

Author:
Christian Treber, [email protected]

Constructor Summary
ScanBit(int pY, int pLoX, int pHiX, int pType)
           
 
Method Summary
 int compareTo(Object o)
           
 int getlXFrom()
           
 int getType()
          See values for
 int getXTo()
           
 int getY()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScanBit

public ScanBit(int pY,
               int pLoX,
               int pHiX,
               int pType)
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getY

public int getY()

getlXFrom

public int getlXFrom()

getXTo

public int getXTo()

getType

public int getType()

See values for

See Also:
Polygon


Copyright © 2013. All Rights Reserved.