/** * Constructs a new direct palette given the red, green and blue masks. * * @param redMask the red mask * @param greenMask the green mask * @param blueMask the blue mask */ public PaletteData(int redMask, int greenMask, int blueMask) { this.redMask = redMask; this.greenMask = greenMask; this.blueMask = blueMask; this.isDirect = true; this.redShift = shiftForMask(redMask); this.greenShift = shiftForMask(greenMask); this.blueShift = shiftForMask(blueMask); }
/** * Constructs a new direct palette given the red, green and blue masks. * * @param redMask the red mask * @param greenMask the green mask * @param blueMask the blue mask */ public PaletteData(int redMask, int greenMask, int blueMask) { this.redMask = redMask; this.greenMask = greenMask; this.blueMask = blueMask; this.isDirect = true; this.redShift = shiftForMask(redMask); this.greenShift = shiftForMask(greenMask); this.blueShift = shiftForMask(blueMask); }
/** * Constructs a new direct palette given the red, green and blue masks. * * @param redMask the red mask * @param greenMask the green mask * @param blueMask the blue mask */ public PaletteData(int redMask, int greenMask, int blueMask) { this.redMask = redMask; this.greenMask = greenMask; this.blueMask = blueMask; this.isDirect = true; this.redShift = shiftForMask(redMask); this.greenShift = shiftForMask(greenMask); this.blueShift = shiftForMask(blueMask); }
/** * Constructs a new direct palette given the red, green and blue masks. * * @param redMask the red mask * @param greenMask the green mask * @param blueMask the blue mask */ public PaletteData(int redMask, int greenMask, int blueMask) { this.redMask = redMask; this.greenMask = greenMask; this.blueMask = blueMask; this.isDirect = true; this.redShift = shiftForMask(redMask); this.greenShift = shiftForMask(greenMask); this.blueShift = shiftForMask(blueMask); }
/** * Constructs a new direct palette given the red, green and blue masks. * * @param redMask the red mask * @param greenMask the green mask * @param blueMask the blue mask */ public PaletteData(int redMask, int greenMask, int blueMask) { this.redMask = redMask; this.greenMask = greenMask; this.blueMask = blueMask; this.isDirect = true; this.redShift = shiftForMask(redMask); this.greenShift = shiftForMask(greenMask); this.blueShift = shiftForMask(blueMask); }
/** * Constructs a new direct palette given the red, green and blue masks. * * @param redMask the red mask * @param greenMask the green mask * @param blueMask the blue mask */ public PaletteData(int redMask, int greenMask, int blueMask) { this.redMask = redMask; this.greenMask = greenMask; this.blueMask = blueMask; this.isDirect = true; this.redShift = shiftForMask(redMask); this.greenShift = shiftForMask(greenMask); this.blueShift = shiftForMask(blueMask); }