Class Lab

java.lang.Object
com.itextpdf.kernel.colors.Color
com.itextpdf.kernel.colors.Lab

public class Lab extends Color
Representation of a lab color space.
  • Constructor Details

    • Lab

      public Lab (PdfCieBasedCs.Lab cs)
      Creates a lab color using the given PdfCieBasedCs color space.
      Parameters:
      cs - Color space
    • Lab

      public Lab (PdfCieBasedCs.Lab cs, float[] value)
      Creates a lab color using the given PdfCieBasedCs color space and color values.
      Parameters:
      cs - Color space
      value - Color values
    • Lab

      public Lab (float[] whitePoint, float[] value)
      Creates a lab color using the given white point and color values.
      Parameters:
      whitePoint - Color values for defining the white point
      value - Color values
    • Lab

      public Lab (float[] whitePoint, float[] blackPoint, float[] range, float[] value)
      Creates a lab color using the given white point, black point and color values.
      Parameters:
      whitePoint - Color values for defining the white point
      blackPoint - Color values for defining the black point
      range - Range for color
      value - Color values