com.sun.pdfview.colorspace

Class MaskColorSpace

public class MaskColorSpace extends ColorSpace

A color space used to implement masks. For now, the only type of mask supported is one where the image pixels specify where to paint, and the painting itself is done in a pre-specified PDF Paint.
Constructor Summary
MaskColorSpace(PDFPaint paint)
Creates a new instance of PaintColorSpace
Method Summary
float[]fromCIEXYZ(float[] colorvalue)
float[]fromRGB(float[] rgbvalue)
float[]toCIEXYZ(float[] colorvalue)
float[]toRGB(float[] colorvalue)

Constructor Detail

MaskColorSpace

public MaskColorSpace(PDFPaint paint)
Creates a new instance of PaintColorSpace

Method Detail

fromCIEXYZ

public float[] fromCIEXYZ(float[] colorvalue)

fromRGB

public float[] fromRGB(float[] rgbvalue)

toCIEXYZ

public float[] toCIEXYZ(float[] colorvalue)

toRGB

public float[] toRGB(float[] colorvalue)