Class ColorSpaceDetails
Contains more document-specific information about the ColorSpace.
public abstract class ColorSpaceDetails
- Inheritance
-
ColorSpaceDetails
- Derived
- Inherited Members
Constructors
ColorSpaceDetails(ColorSpace)
Create a new ColorSpaceDetails.
protected ColorSpaceDetails(ColorSpace type)
Parameters
type
ColorSpace
Properties
BaseType
The underlying type of ColorSpace, usually equal to Type unless Indexed or DeviceN.
public ColorSpace BaseType { get; protected set; }
Property Value
NumberOfColorComponents
The number of components for the color space.
public abstract int NumberOfColorComponents { get; }
Property Value
Type
The type of the ColorSpace.
public ColorSpace Type { get; }
Property Value
Methods
ConvertToByte(double)
Convert to byte.
protected static byte ConvertToByte(double componentValue)
Parameters
componentValue
double
Returns
GetColor(params double[])
Get the color.
public abstract IColor GetColor(params double[] values)
Parameters
values
double[]
Returns
GetInitializeColor()
Get the color that initialize the current stroking or nonstroking colour.
public abstract IColor GetInitializeColor()