PDFDeviceNColor¶
Namespace: O2S.Components.PDF4NET.Graphics
Defines a DeviceN color based on a DeviceN colorspace.
Inheritance Object → PDFColor → PDFDeviceNColor
Constructors¶
PDFDeviceNColor(PDFDeviceNColorSpace)¶
Initializes a new PDFDeviceNColor object with a DeviceN colorspace.
Parameters
colorSpace PDFDeviceNColorSpace
A DeviceN colorspace.
Properties¶
ColorComponents¶
Gets or sets the color components.
Property Value
Double[]
An array of numbers, one for each color component.
Remarks
The number of color components must be equal to the number of PDFDeviceNColorSpace.ColorantNames that are defined on the DeviceN colorspace.
ColorSpace¶
Gets the colorspace.
Property Value
PDFColorSpace
A PDFColorSpace that represents the colorspace of the color.
Methods¶
Copy()¶
Copies this color.
Returns
PDFColor
A copy of this color.
Equals(Object)¶
Determines whether the specified Object is equal to the current Object.
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.
Returns
Int32
A hash code for the current Object.