intarsys PDF library API

de.intarsys.pdf.content.common
Class CSContentTools

java.lang.Object
  extended by de.intarsys.pdf.content.common.CSContentTools

public class CSContentTools
extends Object

A collection of tools to work with page content.


Constructor Summary
CSContentTools()
           
 
Method Summary
static Rectangle2D getBoundingBoxClipped(PDPage page, double border)
          Get the rectangle containing all graphics artifacts on the page (stemming from the content stream).
static PDForm getFormClipped(PDPage page, double border)
          Get a PDForm containing all graphics artifacts on the page (stemming from the content stream).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSContentTools

public CSContentTools()
Method Detail

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).

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.