Class GradientHelper
java.lang.Object
com.openhtmltopdf.pdfboxout.GradientHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.pdfbox.pdmodel.graphics.shading.PDShadingcreateLinearGradient(PdfBoxFastOutputDevice od, AffineTransform transform, FSLinearGradient gradient, Shape bounds) This method is used for creating linear gradient with its components.
-
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
-