de.intarsys.pdf.content.common
Class CSContentTools
java.lang.Object
de.intarsys.pdf.content.common.CSContentTools
public class CSContentTools
- extends Object
A collection of tools to work with page content.
CSContentTools
public CSContentTools()
getBoundingBoxClipped
public static Rectangle2D getBoundingBoxClipped(PDPage page,
double border)
- Get the rectangle containing all graphics artifacts on the page (stemming
from the content stream).
- Parameters:
page
- The page whose content is evaluated.border
- A border width to be added to the clipping rectangle.
- Returns:
- Get the rectangle containing all graphics artifacts on the page
(stemming from the content stream).
getFormClipped
public static PDForm getFormClipped(PDPage page,
double border)
- Get a
PDForm
containing all graphics artifacts on the page
(stemming from the content stream).
- Parameters:
page
- The page whose content is evaluated.border
- A border width to be added to the clipping rectangle.
- Returns:
- Get a
PDForm
containing all graphics artifacts on the
page (stemming from the content stream).
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.