Skip to content

PDFSeparationColor

Namespace: O2S.Components.PDF4NET.Graphics

Defines a color based on a separation colorspace.

public class PDFSeparationColor : PDFColor

Inheritance ObjectPDFColorPDFSeparationColor

Constructors

PDFSeparationColor(PDFSeparationColorSpace)

Initializes a new PDFSeparationColor object with a separation colorspace.

public PDFSeparationColor(PDFSeparationColorSpace colorSpace)

Parameters

colorSpace PDFSeparationColorSpace
The separation colorspace.


Properties

ColorSpace

Gets the colorspace.

public PDFColorSpace ColorSpace { get; }

Property Value

PDFColorSpace
A PDFColorSpace that represents the colorspace of the color.


Tint

Gets or sets the tint component.

public double Tint { get; set; }

Property Value

Double
The tint component color in the range [0 1].


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

Serves as a hash function for a particular type.

public int GetHashCode()

Returns

Int32
A hash code for the current Object.