public class CreateGradientShadingPDF extends Object
| Constructor and Description |
|---|
CreateGradientShadingPDF() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(String file)
This will create the PDF and write the contents to a file.
|
static void |
main(String[] args)
This will create a blank document.
|
public void create(String file) throws IOException, COSVisitorException
file - The name of the file to write to.IOException - If there is an error writing the data.COSVisitorExceptionpublic static void main(String[] args) throws IOException, COSVisitorException
args - The command line arguments.IOException - If there is an error writing the document data.COSVisitorExceptionCopyright © 2002–2019 The Apache Software Foundation. All rights reserved.