Skip to content

PDFPatternColor

Namespace: O2S.Components.PDF4NET.Graphics

Defines a color based on a pattern colorspace.

public class PDFPatternColor : PDFColor

Inheritance ObjectPDFColorPDFPatternColor

Constructors

PDFPatternColor(PDFPatternColorSpace)

Initializes a new PDFPatternColor object with a pattern colorspace.

public PDFPatternColor(PDFPatternColorSpace colorSpace)

Parameters

colorSpace PDFPatternColorSpace
The pattern colorspace.


Properties

ColorSpace

Gets the colorspace.

public PDFColorSpace ColorSpace { get; }

Property Value

PDFColorSpace
A PDFColorSpace that represents the colorspace of the color.


Methods

Copy()

Copies this color.

public PDFColor Copy()

Returns

PDFColor
A copy of this color.


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()

Gets the object hash code.

public int GetHashCode()

Returns

Int32