Klasse PdfBoxGraphics2DColor

java.lang.Object
java.awt.Color
de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DColor
Alle implementierten Schnittstellen:
IPdfBoxGraphics2DColor, Paint, Transparency, Serializable
Bekannte direkte Unterklassen:
PdfBoxGraphics2DCMYKColor

public class PdfBoxGraphics2DColor extends Color implements IPdfBoxGraphics2DColor
Universal PDColor Carrying class. It does not assume any specific colorspace. Useful for e.g. speration colors
Siehe auch:
  • Konstruktordetails

    • PdfBoxGraphics2DColor

      public PdfBoxGraphics2DColor(org.apache.pdfbox.pdmodel.graphics.color.PDColor color)
      Parameter:
      color - the PDColor
    • PdfBoxGraphics2DColor

      public PdfBoxGraphics2DColor(org.apache.pdfbox.pdmodel.graphics.color.PDColor color, int alpha)
      Parameter:
      color - the PDColor
      alpha - the alpha to use
    • PdfBoxGraphics2DColor

      public PdfBoxGraphics2DColor(org.apache.pdfbox.pdmodel.graphics.color.PDColor color, int alpha, boolean overprint)
      Parameter:
      color - the PDColor
      alpha - the alpha to use
      overprint - determine if overprint should be used
  • Methodendetails

    • getAlpha

      public int getAlpha()
      Setzt außer Kraft:
      getAlpha in Klasse Color
    • isOverprint

      public boolean isOverprint()
      Angegeben von:
      isOverprint in Schnittstelle IPdfBoxGraphics2DColor
      Gibt zurück:
      true if this color should be applied with overprint
    • toPDColor

      public org.apache.pdfbox.pdmodel.graphics.color.PDColor toPDColor()
      Angegeben von:
      toPDColor in Schnittstelle IPdfBoxGraphics2DColor
      Gibt zurück:
      the PDColor represented by this color object