java.awt.image

Class PackedColorModel

public abstract class PackedColorModel extends ColorModel

Constructor Summary
PackedColorModel(ColorSpace cspace, int pixelBits, int[] colorMaskArray, int alphaMask, boolean isAlphaPremultiplied, int transparency, int transferType)
PackedColorModel(ColorSpace cspace, int pixelBits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transparency, int transferType)
Method Summary
SampleModelcreateCompatibleSampleModel(int w, int h)
booleanequals(Object obj)
WritableRastergetAlphaRaster(WritableRaster raster)
intgetMask(int index)
int[]getMasks()
booleanisCompatibleSampleModel(SampleModel sm)

Constructor Detail

PackedColorModel

public PackedColorModel(ColorSpace cspace, int pixelBits, int[] colorMaskArray, int alphaMask, boolean isAlphaPremultiplied, int transparency, int transferType)

PackedColorModel

public PackedColorModel(ColorSpace cspace, int pixelBits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transparency, int transferType)

Method Detail

createCompatibleSampleModel

public SampleModel createCompatibleSampleModel(int w, int h)

equals

public boolean equals(Object obj)

getAlphaRaster

public WritableRaster getAlphaRaster(WritableRaster raster)

getMask

public final int getMask(int index)

getMasks

public final int[] getMasks()

isCompatibleSampleModel

public boolean isCompatibleSampleModel(SampleModel sm)