Class ShadingPaint<TPDShading extends PDShading>

java.lang.Object
org.sejda.sambox.pdmodel.graphics.shading.ShadingPaint<TPDShading>
Type Parameters:
TPDShading - the actual PDShading class.
All Implemented Interfaces:
Paint, Transparency
Direct Known Subclasses:
AxialShadingPaint, RadialShadingPaint

public abstract class ShadingPaint<TPDShading extends PDShading> extends Object implements Paint
This is base class for all PDShading-Paints to allow other low level libraries access to the shading source data. One user of this interface is the PdfBoxGraphics2D-adapter.
  • Field Details

  • Method Details

    • getShading

      public TPDShading getShading()
      Returns:
      the PDShading of this paint
    • getMatrix

      public Matrix getMatrix()
      Returns:
      the active Matrix of this paint