* @param pageheight the page's height in points
*/
public PDFPage(int number, PDFResources resources,
- PDFStream contents,
- int pagewidth,
+ PDFStream contents, int pagewidth,
int pageheight) {
/* generic creation of object */
public void setParent(PDFPages parent) {
this.parent = parent;
}
-
+
/**
* set this page's annotation list
*
return this.annotList;
}
+ public void addShading(PDFShading shading) {
+ this.resources.addShading(shading);
+ }
/**
* represent this object as PDF
*