Class GradientHelper

java.lang.Object
com.openhtmltopdf.pdfboxout.GradientHelper

public class GradientHelper extends Object
  • Constructor Details

    • GradientHelper

      public GradientHelper()
  • Method Details

    • createLinearGradient

      public static org.apache.pdfbox.pdmodel.graphics.shading.PDShading createLinearGradient(PdfBoxFastOutputDevice od, AffineTransform transform, FSLinearGradient gradient, Shape bounds)
      This method is used for creating linear gradient with its components.
      Returns:
      shading for rendering linear gradient in PDF