Class PageDrawer.TransparencyGroup

java.lang.Object
org.apache.pdfbox.rendering.PageDrawer.TransparencyGroup
Enclosing class:
PageDrawer

private final class PageDrawer.TransparencyGroup extends Object
Transparency group.
  • Field Details

    • image

      private final BufferedImage image
    • bbox

      private final PDRectangle bbox
    • minX

      private final int minX
    • minY

      private final int minY
    • maxX

      private final int maxX
    • maxY

      private final int maxY
    • width

      private final int width
    • height

      private final int height
  • Constructor Details

    • TransparencyGroup

      private TransparencyGroup(PDTransparencyGroup form, boolean isSoftMask, Matrix ctm, PDColor backdropColor) throws IOException
      Creates a buffered image for a transparency group result.
      Parameters:
      form - the transparency group of the form or soft mask.
      isSoftMask - true if this is a soft mask.
      ctm - the relevant current transformation matrix. For soft masks, this is the CTM at the time the soft mask is set (not at the time the soft mask is used for fill/stroke!), for forms, this is the CTM at the time the form is invoked.
      backdropColor - the color according to the /bc entry to be used for luminosity soft masks.
      Throws:
      IOException
  • Method Details