Constructor PdfLabColor
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
PdfLabColor(PdfColorSpace, double, double, double)
Initializes a new instance of the PdfLabColor class.
public PdfLabColor(PdfColorSpace colorSpace, double l, double a, double b)
Parameters
colorSpace
PdfColorSpaceThe Lab* color space for the color.
l
doubleThe L* component value.
a
doubleThe a* component value.
b
doubleThe b* component value.
Remarks
L* component value must be a number between 0 and 100. Values for a* and b*
components must be within the range defined by the L*a*b* color space specified by
the colorSpace
parameter.
The color space specified by the colorSpace
parameter must be either
a PdfLabColorSpace or a color space for which the alternate color space
is a PdfLabColorSpace.
PdfLabColor(PdfColorProfile, double, double, double)
Initializes a new instance of the PdfLabColor class.
public PdfLabColor(PdfColorProfile colorProfile, double l, double a, double b)
Parameters
colorProfile
PdfColorProfileThe ICC color profile for Lab* color space.
l
doubleThe L* component value.
a
doubleThe a* component value.
b
doubleThe b* component value.
Remarks
L* component value must be a number between 0 and 100. Values for a* and b*
components must be within the range defined by the L*a*b* color space of the
color profile specified by the colorProfile
parameter.
The underlying color space of the color profile specified by the
colorProfile
parameter must be either a
PdfLabColorSpace or a color space for which the alternate color space
is a PdfLabColorSpace.