PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.contents
Interface IContentContext

All Superinterfaces:
IContentEntity
All Known Implementing Classes:
FormXObject, Page

public interface IContentContext
extends IContentEntity

Content stream context.

Version:
0.0.8
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Method Summary
 Rectangle2D getBox()
          Gets the bounding box associated with the object, either explicitly (directly associated to the object) or (if not explicitly available) implicitly (inherited from a higher level object).
 Contents getContents()
          Gets the contents collection representing the content stream.
 Resources getResources()
          Gets the resources associated with the object, either explicitly (directly associated to the object) or (if not explicitly available) implicitly (inherited from a higher-level object).
 
Methods inherited from interface it.stefanochizzolini.clown.documents.contents.IContentEntity
toInlineObject, toXObject
 

Method Detail

getBox

Rectangle2D getBox()
Gets the bounding box associated with the object, either explicitly (directly associated to the object) or (if not explicitly available) implicitly (inherited from a higher level object).

Remarks

The box represents the physical-coordinates frame expressed in default user-space units. This frame is crucial for the proper positioning of graphic elements on the canvas, as the spec [PDF:1.6:4.2] states that the coordinate system is positively-oriented, although the typographic coordinates would be conveniently expressed as negatively-oriented.


getContents

Contents getContents()
Gets the contents collection representing the content stream.

Since:
0.0.5

getResources

Resources getResources()
Gets the resources associated with the object, either explicitly (directly associated to the object) or (if not explicitly available) implicitly (inherited from a higher-level object).

Remarks

The implementing class MUST ensure that the returned object isn't null.


PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.