Skip to content

PDFPatternColorSpace

Namespace: O2S.Components.PDF4NET.Graphics

Defines a colorspace based on a PDF pattern.

public class PDFPatternColorSpace : PDFColorSpace

Inheritance ObjectPDFColorSpacePDFPatternColorSpace

Constructors

PDFPatternColorSpace(PDFPattern)

Initializes a new PDFPatternColorSpace object.

public PDFPatternColorSpace(PDFPattern pattern)

Parameters

pattern PDFPattern
The pattern associated with this colorspace.


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


Pattern

Gets the PDF pattern.

public PDFPattern Pattern { get; }

Property Value

PDFPattern
The pattern associated with this colorspace.


Type

Gets the colorspace type.

public PDFColorSpaceType Type { get; }

Property Value

PDFColorSpaceType
A PDFColorSpaceType that represents the colorspace type.