Top Description Fields Constructors Methods
com.openhtmltopdf.layout

public Class PaintingInfo

extends Object
Class Inheritance
Imports
java.awt.Dimension, .Rectangle

A bean which every box uses to provide its aggregate bounds (which may be larger than the bounds of the box itself when there is overhanging content) and its outer margin corner (which is used to calculate the size of the canvas). The aggregate bounds calculation does not take the value of the overflow property into account.

Field Summary

Modifier and TypeField and Description
private Rectangle
private Dimension

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PaintingInfo
public Rectangle
public Dimension
public void
setAggregateBounds(Rectangle aggregateBounds)

public void
setOuterMarginCorner(Dimension outerMarginCorner)

public void
translate(int tx, int ty)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_aggregateBoundsback to summary
private Rectangle _aggregateBounds
_outerMarginCornerback to summary
private Dimension _outerMarginCorner

Constructor Detail

PaintingInfoback to summary
public PaintingInfo()

Method Detail

copyOfback to summary
public PaintingInfo copyOf()
getAggregateBoundsback to summary
public Rectangle getAggregateBounds()
getOuterMarginCornerback to summary
public Dimension getOuterMarginCorner()
setAggregateBoundsback to summary
public void setAggregateBounds(Rectangle aggregateBounds)
setOuterMarginCornerback to summary
public void setOuterMarginCorner(Dimension outerMarginCorner)
translateback to summary
public void translate(int tx, int ty)