Class 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 Detail

      • ScanBit

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

      • getY

        public int getY()
      • getlXFrom

        public int getlXFrom()
      • getXTo

        public int getXTo()
      • getType

        public int getType()

        See values for

        See Also:
        Polygon