Skip to content

PDFRgbColorSpace

Namespace: O2S.Components.PDF4NET.Graphics

Defines a device RGB colorspace.

public class PDFRgbColorSpace : PDFColorSpace

Inheritance ObjectPDFColorSpacePDFRgbColorSpace

Constructors

PDFRgbColorSpace()

Initializes a new PDFRgbColorSpace object.

public PDFRgbColorSpace()

Properties

ColorComponentCount

Gets the number of components used by a color in this colorspace.

public int ColorComponentCount { get; }

Property Value

Int32


CosObject

Gets the raw colorspace object.

public PDFCosObject CosObject { get; }

Property Value

PDFCosObject


Type

Gets the colorspace type.

public PDFColorSpaceType Type { get; }

Property Value

PDFColorSpaceType
A PDFColorSpaceType that represents the colorspace type.


Methods

Equals(Object)

Determines whether the specified Object is equal to the current Object.

public bool Equals(object obj)

Parameters

obj Object
The Object to compare with the current Object.

Returns

Boolean
true if the specified Object is equal to the current Object; otherwise, false.


GetHashCode()

Serves as a hash function for a particular type.

public int GetHashCode()

Returns

Int32
A hash code for the current Object.