GraphicsAbsorber

Inheritance: java.lang.Object

public class GraphicsAbsorber

Represents an absorber object of graphics elements. Performs graphics search and provides access to search results via GraphicsAbsorber.Elements (GraphicsAbsorber#getElements) collection.

Constructors

ConstructorDescription
GraphicsAbsorber()

Methods

MethodDescription
getElements()Gets collection of search occurrences that are presented with GraphicElement objects.
visit(Page page)Performs search on the specified page.
suppressUpdate()Suppresses update for Page#getContents and all @link XForm#getContents Was made for performance increase, see also.
resumeUpdate()Resume update forPage#getContents and all @link XForm#getContents Was made for performance increase, see also.

GraphicsAbsorber()

public GraphicsAbsorber()

getElements()

public final GraphicElementCollection getElements()

Gets collection of search occurrences that are presented with GraphicElement objects.

Returns: GraphicElementCollection - GraphicElementCollection instance

visit(Page page)

public final void visit(Page page)

Performs search on the specified page.

Parameters:

ParameterTypeDescription
pagePagePDF document page object.

suppressUpdate()

public final void suppressUpdate()

Suppresses update for Page#getContents and all @link XForm#getContents Was made for performance increase, see also.

resumeUpdate()

public final void resumeUpdate()

Resume update forPage#getContents and all @link XForm#getContents Was made for performance increase, see also.