Java org.apache.pdfbox.pdmodel PDResources fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.pdmodel PDResources fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.pdmodel PDResources.

The text is from its open source code.

Constructor

PDResources()
Constructor for embedding.
PDResources(COSDictionary resourceDictionary)
Constructor for reading.

Method

COSNameadd(PDXObject xobject, String prefix)
Adds the given XObject to the resources of the current page and returns the name for the new resources.
COSDictionarygetCOSObject()
Returns the underlying dictionary.
PDFontgetFont(COSName name)
Returns the font resource with the given name, or null if none exists.
IterablegetFontNames()
Returns the names of the font resources, if any.
PDXObjectgetXObject(COSName name)
Returns the XObject resource with the given name, or null if none exists.
IterablegetXObjectNames()
Returns the names of the XObject resources, if any.
booleanisImageXObject(COSName name)
Tells whether the XObject resource with the given name is an image.
voidput(COSName name, PDFont font)
Sets the font resource with the given name.
voidput(COSName name, PDColorSpace colorSpace)
Sets the color space resource with the given name.
voidput(COSName name, PDExtendedGraphicsState extGState)
Sets the extended graphics state resource with the given name.
voidput(COSName name, PDShading shading)
Sets the shading resource with the given name.
voidput(COSName name, PDAbstractPattern pattern)
Sets the pattern resource with the given name.
voidput(COSName name, PDPropertyList properties)
Sets the property list resource with the given name.
voidput(COSName name, PDXObject xobject)
Sets the XObject resource with the given name.