PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.shadings Package / PDFRadialShading Class / setFunction Method
A 1-in, n-out function, where n is the number of color components in the shading's color space
Collapse All Expand All
In This Topic

setFunction Method
In This Topic
Sets the shading function.
The function is called with values of the parametric variable t in the domain defined by the method.
Syntax

    public void setFunction(
       PDFFunction value
    )

#### Parameters

value
  A 1-in, n-out function, where n is the number of color components in the shading's color space

Exceptions

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

See Also

#### Reference

PDFRadialShading Class
PDFRadialShading Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.