Package com.openhtmltopdf.pdfboxout
Class GradientHelper
java.lang.Object
com.openhtmltopdf.pdfboxout.GradientHelper
public class GradientHelper extends Object
-
Constructor Summary
Constructors Constructor Description GradientHelper() -
Method Summary
Modifier and Type Method Description static org.apache.pdfbox.pdmodel.graphics.shading.PDShadingcreateLinearGradient(PdfBoxFastOutputDevice od, AffineTransform transform, com.openhtmltopdf.css.style.derived.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, com.openhtmltopdf.css.style.derived.FSLinearGradient gradient, Shape bounds)This method is used for creating linear gradient with its components.- Returns:
- shading for rendering linear gradient in PDF
-