Uses of Interface
edu.neu.ccs.gui.PaintAlgorithm

Packages that use PaintAlgorithm
edu.neu.ccs.gui Provides classes and interfaces for designing and implementing graphical interfaces and for the creation of paintable and mutatable objects.. 
 

Uses of PaintAlgorithm in edu.neu.ccs.gui
 

Methods in edu.neu.ccs.gui that return PaintAlgorithm
static PaintAlgorithm PaintTools.makePaintAlgorithm(BufferedImage image)
          Returns a PaintAlgorithm whose color mapping is determined by the color data in the given buffered image.
static PaintAlgorithm PaintTools.solid(Color c)
          Returns the PaintAlgorithm that returns the given solid color for any x and y input.
static PaintAlgorithm PaintTools.turn45(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 45 degrees.
static PaintAlgorithm PaintTools.turn90(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 90 degrees.
static PaintAlgorithm PaintTools.turn135(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 135 degrees.
static PaintAlgorithm PaintTools.turn180(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 180 degrees.
static PaintAlgorithm PaintTools.turn225(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 225 degrees.
static PaintAlgorithm PaintTools.turn270(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 270 degrees.
static PaintAlgorithm PaintTools.turn315(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 45 degrees.
static PaintAlgorithm PaintTools.reflect(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that reflects through the x-axis.
static PaintAlgorithm PaintTools.translate(PaintAlgorithm algorithm, int x0, int y0)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that translates by the given x0, y0.
static PaintAlgorithm PaintTools.stripeEtoW(Color color1, Color color2, int thick1, int thick2)
          Returns the PaintAlgorithm that draws a pair of stripes from east to west with stripe 1 using color color1 with thickness thick1 and with stripe 2 using color color2 with thickness thick2.
static PaintAlgorithm PaintTools.stripeEtoW(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int thick1, int thick2)
          Returns the PaintAlgorithm that draws a pair of stripes from east to west with stripe 1 using algorithm1 with thickness thick1 and with stripe 2 using algorithm2 with thickness thick2.
static PaintAlgorithm PaintTools.stripeNEtoSW(Color color1, Color color2, int thick1, int thick2)
          Equivalent to turn45(stripeEtoW(args)).
static PaintAlgorithm PaintTools.stripeNEtoSW(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int thick1, int thick2)
          Equivalent to turn45(stripeEtoW(args)).
static PaintAlgorithm PaintTools.stripeNtoS(Color color1, Color color2, int thick1, int thick2)
          Equivalent to turn90(stripeEtoW(args)).
static PaintAlgorithm PaintTools.stripeNtoS(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int thick1, int thick2)
          Equivalent to turn90(stripeEtoW(args)).
static PaintAlgorithm PaintTools.stripeNWtoSE(Color color1, Color color2, int thick1, int thick2)
          Equivalent to turn135(stripeEtoW(args)).
static PaintAlgorithm PaintTools.stripeNWtoSE(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int thick1, int thick2)
          Equivalent to turn135(stripeEtoW(args)).
static PaintAlgorithm PaintTools.checkHatch(Color color1, Color color2, int width1, int width2, int height1, int height2)
          Returns a checker board hatch pattern.
static PaintAlgorithm PaintTools.checkHatch(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int width1, int width2, int height1, int height2)
          Returns a check board hatch pattern.
static PaintAlgorithm PaintTools.checkHatchDiagonal(Color color1, Color color2, int width1, int width2, int height1, int height2)
          Equivalent to turn45(checkHatch(args)).
static PaintAlgorithm PaintTools.checkHatchDiagonal(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int width1, int width2, int height1, int height2)
          Equivalent to turn45(checkHatch(args)).
static PaintAlgorithm PaintTools.crossHatch(Color color1, Color color2, int width1, int width2, int height1, int height2)
          Returns a cross hatch pattern.
static PaintAlgorithm PaintTools.crossHatch(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int width1, int width2, int height1, int height2)
          Returns a cross hatch pattern.
static PaintAlgorithm PaintTools.crossHatchDiagonal(Color color1, Color color2, int width1, int width2, int height1, int height2)
          Equivalent to turn45(crossHatch(args)).
static PaintAlgorithm PaintTools.crossHatchDiagonal(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int width1, int width2, int height1, int height2)
          Equivalent to turn45(crossHatch(args)).
static PaintAlgorithm PaintTools.dottedGrid(Color dotColor, Color backColor, int dotSize, int gridSize)
          Returns a dotted grid pattern with the given dot color and background color.
static PaintAlgorithm PaintTools.dottedGridDiagonal(Color dotColor, Color backColor, int dotSize, int gridSize)
          Equivalent to turn45(dottedGrid(args)).
static PaintAlgorithm PaintTools.brickEtoW(Color cellColor, Color edgeColor, int size)
          Returns a brick pattern oriented horizontally (EW) such that the brick cell has dimensions width = 2 * size, height = size and uses the given cell color and edge color.
static PaintAlgorithm PaintTools.brickNEtoSW(Color cellColor, Color edgeColor, int size)
          Equivalent to turn45(brickEtoW(args)).
static PaintAlgorithm PaintTools.brickNtoS(Color cellColor, Color edgeColor, int size)
          Equivalent to turn90(brickEtoW(args)).
static PaintAlgorithm PaintTools.brickNWtoSE(Color cellColor, Color edgeColor, int size)
          Equivalent to turn135(brickEtoW(args)).
 

Methods in edu.neu.ccs.gui with parameters of type PaintAlgorithm
static TexturePaint PaintTools.makePaint(PaintAlgorithm algorithm)
          Returns a TexturePaint object whose pixel colors are defined by the given algorithm and whose size is determined by the periods in the given algorithm.
static TexturePaint PaintTools.makePaint(PaintAlgorithm algorithm, int width, int height)
          Returns a TexturePaint object whose pixel colors are defined by the given algorithm and whose size is determined by the given width and height.
static BufferedImage PaintTools.makeBufferedImage(PaintAlgorithm algorithm)
          Returns a BufferedImage object whose pixel colors are defined by the given algorithm and whose size is determined by the periods in the given algorithm.
static BufferedImage PaintTools.makeBufferedImage(PaintAlgorithm algorithm, int width, int height)
          Returns a BufferedImage object whose pixel colors are defined by the given algorithm and whose size is determined by the given width and height.
static PaintAlgorithm PaintTools.turn45(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 45 degrees.
static PaintAlgorithm PaintTools.turn90(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 90 degrees.
static PaintAlgorithm PaintTools.turn135(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 135 degrees.
static PaintAlgorithm PaintTools.turn180(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 180 degrees.
static PaintAlgorithm PaintTools.turn225(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 225 degrees.
static PaintAlgorithm PaintTools.turn270(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 270 degrees.
static PaintAlgorithm PaintTools.turn315(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that rotates by 45 degrees.
static PaintAlgorithm PaintTools.reflect(PaintAlgorithm algorithm)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that reflects through the x-axis.
static PaintAlgorithm PaintTools.translate(PaintAlgorithm algorithm, int x0, int y0)
          Returns a PaintAlgorithm constructed from the given PaintAlgorithm by composition with a transform that translates by the given x0, y0.
static PaintAlgorithm PaintTools.stripeEtoW(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int thick1, int thick2)
          Returns the PaintAlgorithm that draws a pair of stripes from east to west with stripe 1 using algorithm1 with thickness thick1 and with stripe 2 using algorithm2 with thickness thick2.
static PaintAlgorithm PaintTools.stripeNEtoSW(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int thick1, int thick2)
          Equivalent to turn45(stripeEtoW(args)).
static PaintAlgorithm PaintTools.stripeNtoS(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int thick1, int thick2)
          Equivalent to turn90(stripeEtoW(args)).
static PaintAlgorithm PaintTools.stripeNWtoSE(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int thick1, int thick2)
          Equivalent to turn135(stripeEtoW(args)).
static PaintAlgorithm PaintTools.checkHatch(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int width1, int width2, int height1, int height2)
          Returns a check board hatch pattern.
static PaintAlgorithm PaintTools.checkHatchDiagonal(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int width1, int width2, int height1, int height2)
          Equivalent to turn45(checkHatch(args)).
static PaintAlgorithm PaintTools.crossHatch(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int width1, int width2, int height1, int height2)
          Returns a cross hatch pattern.
static PaintAlgorithm PaintTools.crossHatchDiagonal(PaintAlgorithm algorithm1, PaintAlgorithm algorithm2, int width1, int width2, int height1, int height2)
          Equivalent to turn45(crossHatch(args)).