Class GradientHelper


  • public class GradientHelper
    extends Object
    • Constructor Detail

      • GradientHelper

        public GradientHelper()
    • Method Detail

      • 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