Package com.orsonpdf

Class Pattern.ShadingPattern

java.lang.Object
com.orsonpdf.PDFObject
com.orsonpdf.Pattern
com.orsonpdf.Pattern.ShadingPattern
Enclosing class:
Pattern

public static final class Pattern.ShadingPattern extends Pattern
A shading pattern object.
  • Field Details

    • shading

      private Shading shading
  • Constructor Details

    • ShadingPattern

      public ShadingPattern(int number, Shading shading, AffineTransform t)
      Creates a new shading pattern.
      Parameters:
      number - the PDF object number.
      shading - the shading.
      t - the transform from the initial page space to Java2D space.
  • Method Details

    • getShading

      public Shading getShading()
      Returns the shading.
      Returns:
      The shading (never null).
    • setShading

      public void setShading(Shading shading)
      Sets the shading.
      Parameters:
      shading - the shading (null not permitted).