Class PdfBoxGraphics2DCMYKColor

  • All Implemented Interfaces:
    IPdfBoxGraphics2DColor, java.awt.Paint, java.awt.Transparency, java.io.Serializable

    public class PdfBoxGraphics2DCMYKColor
    extends PdfBoxGraphics2DColor
    This color class represents a CMYK Color. You can use this class if you want to paint with DeviceCMYK Colors
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private float c  
      private float k  
      private float m  
      private float y  
      • Fields inherited from class java.awt.Color

        black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
      • Fields inherited from interface java.awt.Transparency

        BITMASK, OPAQUE, TRANSLUCENT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float getC()  
      float getK()  
      float getM()  
      float getY()  
      • Methods inherited from class java.awt.Color

        brighter, createContext, darker, decode, equals, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • c

        private final float c
      • m

        private final float m
      • y

        private final float y
      • k

        private final float k
    • Constructor Detail

      • PdfBoxGraphics2DCMYKColor

        public PdfBoxGraphics2DCMYKColor​(int c,
                                         int m,
                                         int y,
                                         int k,
                                         int alpha)
      • PdfBoxGraphics2DCMYKColor

        public PdfBoxGraphics2DCMYKColor​(int c,
                                         int m,
                                         int y,
                                         int k)
      • PdfBoxGraphics2DCMYKColor

        public PdfBoxGraphics2DCMYKColor​(float c,
                                         float m,
                                         float y,
                                         float k)
      • PdfBoxGraphics2DCMYKColor

        public PdfBoxGraphics2DCMYKColor​(float c,
                                         float m,
                                         float y,
                                         float k,
                                         int alpha)
      • PdfBoxGraphics2DCMYKColor

        public PdfBoxGraphics2DCMYKColor​(float c,
                                         float m,
                                         float y,
                                         float k,
                                         int alpha,
                                         org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace colorSpace)
      • PdfBoxGraphics2DCMYKColor

        public PdfBoxGraphics2DCMYKColor​(float c,
                                         float m,
                                         float y,
                                         float k,
                                         int alpha,
                                         org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace colorSpace,
                                         boolean overprint)
    • Method Detail

      • getC

        public float getC()
      • getM

        public float getM()
      • getY

        public float getY()
      • getK

        public float getK()