Uses of Class
net.mtrop.doom.graphics.Colormap
Packages that use Colormap
Package
Description
Contains abstracts and implementations of graphic types.
Contains utility classes.
-
Uses of Colormap in net.mtrop.doom.graphics
Methods in net.mtrop.doom.graphics that return ColormapModifier and TypeMethodDescriptionColormap.copy()Creates a new colormap by copying the contents of this one.static ColormapColormap.createIdentityMap()Creates a color map where each color is mapped to its own index (index 0 is palette color 0 ...Colormap.setIdentity()Resets the color map to where each color is mapped to its own index (index 0 is palette color 0 ...Colormap.setPaletteIndex(int index, int paletteIndex) Sets the palette index of a specific index in the map.Colormap.setTranslation(int startIndex, int endIndex, int startValue, int endValue) Sets a colormap translation by remapping groups of contiguous indices.Constructors in net.mtrop.doom.graphics with parameters of type Colormap -
Uses of Colormap in net.mtrop.doom.util
Methods in net.mtrop.doom.util that return ColormapModifier and TypeMethodDescriptionstatic Colormap[]GraphicUtils.createColormapsFromGraphic(GraphicObject graphic) Creates a series of colormaps using a two-dimensional graphic, assumed indexed.Methods in net.mtrop.doom.util with parameters of type ColormapModifier and TypeMethodDescriptionstatic FlatGraphicUtils.createFlat(BufferedImage image, Palette palette, Colormap colormap) Creates aFlatfrom aBufferedImage.static FlatGraphicUtils.createFlat(PNGPicture pngPicture, Palette palette, Colormap colormap) Creates aFlatfrom aPNGPicture.static BufferedImageGraphicUtils.createImage(Flat flat, Palette palette, Colormap colormap) Creates aBufferedImagefrom aFlat.static BufferedImageGraphicUtils.createImage(Picture picture, Palette palette, Colormap colormap) Creates aBufferedImagefrom aFlat.static PictureGraphicUtils.createPicture(BufferedImage image, Palette palette, Colormap colormap) Creates aPicturefrom aBufferedImage.static PictureGraphicUtils.createPicture(PNGPicture pngPicture, Palette palette, Colormap colormap) Creates aPicturefrom aBufferedImage.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.