Uses of Class
net.mtrop.doom.graphics.Palette
Packages that use Palette
Package
Description
Contains abstracts and implementations of graphic types.
Contains utility classes.
-
Uses of Palette in net.mtrop.doom.graphics
Methods in net.mtrop.doom.graphics that return PaletteModifier and TypeMethodDescriptionPalette.addColor(int index, double scalar, int argb) Sets the color of a specific index in the Palette by additively blending it with another color.Palette.addColor(int index, double scalar, int red, int green, int blue) Sets the color of a specific index in the Palette by additively blending it with another color.Palette.addColor(int startIndex, int endIndex, double scalar, int argb) Sets the color of a range of indices in the Palette by additively blending it with another color.Palette.addColor(int startIndex, int endIndex, double scalar, int red, int green, int blue) Sets the color of a range of indices in the Palette by additively blending it with another color.Palette.copy()Makes a copy of this palette.Palette.mixColor(int index, double scalar, int argb) Sets the color of a specific index in the Palette by blending it with another color.Palette.mixColor(int index, double scalar, int red, int green, int blue) Sets the color of a specific index in the Palette by blending it with another color.Palette.mixColor(int startIndex, int endIndex, double scalar, int argb) Sets the color of a range of indices in the Palette by blending it with another color.Palette.mixColor(int startIndex, int endIndex, double scalar, int red, int green, int blue) Sets the color of a range of indices in the Palette by blending it with another color.Palette.multiplyColor(int index, double scalar, int argb) Sets the color of a specific index in the Palette by multiplicatively blending it with another color.Palette.multiplyColor(int index, double scalar, int red, int green, int blue) Sets the color of a specific index in the Palette by multiplicatively blending it with another color.Palette.multiplyColor(int startIndex, int endIndex, double scalar, int argb) Sets the color of a range of indices in the Palette by multiplicatively blending it with another color.Palette.multiplyColor(int startIndex, int endIndex, double scalar, int red, int green, int blue) Sets the color of a range of indices in the Palette by multiplicatively blending it with another color.Palette.saturateColor(int index, double scalar) Sets the color of a specific index in the Palette by saturating/desaturating it.Palette.saturateColor(int startIndex, int endIndex, double scalar) Sets the color of a range of indices in the Palette by saturating/desaturating it.Palette.setColor(int index, int argb) Sets the color of a specific index in the Palette.Palette.setColor(int startIndex, int endIndex, int argb) Sets the color of a range of indices in the Palette.Palette.setColor(int index, int red, int green, int blue) Sets the color of a specific index in the Palette.Palette.setColor(int startIndex, int endIndex, int red, int green, int blue) Sets the color of a range of indices in the Palette.Palette.setColorGradient(int startIndex, int endIndex, int argb0, int argb1) Sets the color of a range of indices in the Palette by creating a linear color gradient.Palette.setColorGradient(int startIndex, int endIndex, int red0, int green0, int blue0, int red1, int green1, int blue1) Sets the color of a range of indices in the Palette by creating a linear color gradient.Palette.subtractColor(int index, double scalar, int argb) Sets the color of a specific index in the Palette by subtractively blending it with another color.Palette.subtractColor(int index, double scalar, int red, int green, int blue) Sets the color of a specific index in the Palette by subtractively blending it with another color.Palette.subtractColor(int startIndex, int endIndex, double scalar, int argb) Sets the color of a range of indices in the Palette by subtractively blending it with another color.Palette.subtractColor(int startIndex, int endIndex, double scalar, int red, int green, int blue) Sets the color of a range of indices in the Palette by subtractively blending it with another color. -
Uses of Palette in net.mtrop.doom.util
Fields in net.mtrop.doom.util declared as PaletteModifier and TypeFieldDescriptionstatic final PaletteGraphicUtils.DOOMDefault Doom palette.static final PaletteGraphicUtils.HERETICDefault Heretic palette.static final PaletteGraphicUtils.HEXENDefault Hexen palette.static final PaletteGraphicUtils.STRIFEDefault Strife palette.Methods in net.mtrop.doom.util with parameters of type PaletteModifier and TypeMethodDescriptionstatic FlatGraphicUtils.createFlat(BufferedImage image, Palette palette) Creates aFlatfrom aBufferedImage.static FlatGraphicUtils.createFlat(BufferedImage image, Palette palette, Colormap colormap) Creates aFlatfrom aBufferedImage.static FlatGraphicUtils.createFlat(PNGPicture pngPicture, Palette palette) Creates aFlatfrom aPNGPicture.static FlatGraphicUtils.createFlat(PNGPicture pngPicture, Palette palette, Colormap colormap) Creates aFlatfrom aPNGPicture.static BufferedImageGraphicUtils.createImage(Flat flat, Palette palette) Creates aBufferedImagefrom aFlat.static BufferedImageGraphicUtils.createImage(Flat flat, Palette palette, Colormap colormap) Creates aBufferedImagefrom aFlat.static BufferedImageGraphicUtils.createImage(Picture picture, Palette palette) Creates aBufferedImagefrom aPicture.static BufferedImageGraphicUtils.createImage(Picture picture, Palette palette, Colormap colormap) Creates aBufferedImagefrom aFlat.static PictureGraphicUtils.createPicture(BufferedImage image, Palette palette) Creates aPicturefrom aBufferedImage.static PictureGraphicUtils.createPicture(BufferedImage image, Palette palette, Colormap colormap) Creates aPicturefrom aBufferedImage.static PictureGraphicUtils.createPicture(PNGPicture pngPicture, Palette palette) Creates aPicturefrom aBufferedImage.static PictureGraphicUtils.createPicture(PNGPicture pngPicture, Palette palette, Colormap colormap) Creates aPicturefrom aBufferedImage.static PNGPictureGraphicUtils.createPNGImage(Picture picture, Palette palette) Creates aPNGPicturefrom aPicture.static PNGPictureGraphicUtils.createPNGImage(Picture picture, Palette palette, Colormap colormap) Creates aPNGPicturefrom aPicture.static voidGraphicUtils.setColormap(Colormap colormap, Palette target, Palette sampled) Sets the indices of aColormapby attempting to match colors in a palette from other colors in a different palette.