PDFLabColor¶
Namespace: O2S.Components.PDF4NET.Graphics
Defines a Lab color based on a Lab colorspace.
Inheritance Object → PDFColor → PDFLabColor
Constructors¶
PDFLabColor(PDFLabColorSpace)¶
Initializes a new PDFLabColor object.
Parameters
colorSpace PDFLabColorSpace
a PDFLabColorSpace object the color is
based on.
Properties¶
A¶
Gets or sets the a* component.
Property Value
Double
The a* component in the range defined by
PDFLabColorSpace.Range property of the Lab colorspace.
B¶
Gets or sets the b* component.
Property Value
Double
The b* component in the range defined by
PDFLabColorSpace.Range property of the Lab colorspace.
ColorSpace¶
Gets the colorspace.
Property Value
PDFColorSpace
A PDFColorSpace that represents the colorspace of the color.
L¶
Gets or sets the L component.
Property Value
Double
The L component in the range [0 100].
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.