ColorSpace Class |
Namespace: pdftron.PDF
public sealed class ColorSpace : IClosable
The ColorSpace type exposes the following members.
Name | Description | |
---|---|---|
![]() | ColorSpace | Create a ColorSpace from the given SDF/Cos object listed under ColorSpaces entry
in page Resource dictionary. If color_space dictionary is null, a non valid ColorSpace
object is created.
|
Name | Description | |
---|---|---|
![]() | Close | |
![]() | Convert2CMYK | A convenience function used to convert color points from the current
color space to DeviceCMYK color space.
|
![]() | Convert2Gray | Initialize default ranges for each color component in the color space.
For example, default ranges for DeviceRGB are [0 1 0 1 0 1] but for Lab
the default values might be [0 100 -100 100 -100 100].
|
![]() | Convert2RGB | A convenience function used to convert color points from the current
color space to DeviceRGB color space.
|
![]() ![]() | Create | Create a new ColorSpace from a given object
|
![]() ![]() | CreateDeviceCMYK | Create a new DeviceCMYK ColorSpace object.
|
![]() ![]() | CreateDeviceGray | Create a new DeviceGray ColorSpace object.
|
![]() ![]() | CreateDeviceRGB | Create a new DeviceRGB ColorSpace object.
|
![]() ![]() | CreateICCFromBuffer | Creates the icc from buffer.
|
![]() ![]() | CreateICCFromFile | Create a PDF 'ICCBased' color space given an ICC profile.
|
![]() ![]() | CreateICCFromFilter | Creates the icc from filter.
|
![]() ![]() | CreatePattern | Create a new Pattern ColorSpace object.
|
![]() | Equals | (Inherited from Object.) |
![]() | GetAlternateColorSpace | Gets the alternate color space.
|
![]() | GetBaseColorSpace | Gets the base color space.
|
![]() | GetComponentNum | Gets the component num.
|
![]() ![]() | GetComponentNum(ColorSpaceType, Obj) | Gets the number of colorants (tint components) used to represent color point in this color space
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetHighVal | Gets the highest index for the color lookup table for Indexed color space.
|
![]() | GetSDFObj | Gets the sDF obj.
|
![]() | GetTintFunction | Gets the tint function.
|
![]() | GetType | Gets the type.
|
![]() ![]() | GetType(Obj) | Gets the type.
|
![]() | InitColor | Set color to the initial value used for this color space.
The initial value depends on the color space (see 4.5.7 in PDF Ref. Manual).
|
![]() | IsAll | Checks if is all.
|
![]() | IsNone | Checks if is none.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |