PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawShading Method
The shading to draw on the PDF page.
Collapse All Expand All
In This Topic

drawShading Method
In This Topic
Draws a PDF shading.
The position of the shading is defined on the object.
Syntax

    public void drawShading(
       PDFShading shading
    )

#### Parameters

shading
  The shading to draw on the PDF page.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | when the shading is null.

See Also

#### Reference

PDFCanvas Class
PDFCanvas Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.