PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.shadings Package / PDFFunctionShading Class / setDomain Method
An array of four numbers [xmin xmax ymin ymax] specifying the rectangular domain of coordinates over which the shading function are defined.
Collapse All Expand All
In This Topic

setDomain Method
In This Topic
Sets the shading domain.
Syntax

    public void setDomain(
       double[] domain
    )

#### Parameters

domain
  An array of four numbers [xmin xmax ymin ymax] specifying the rectangular domain of coordinates over which the shading function are defined.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When domain does not have 4 elements.

See Also

#### Reference

PDFFunctionShading Class
PDFFunctionShading Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.