Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.layout
Class PaintingInfo

java.lang.Object
  extended by org.xhtmlrenderer.layout.PaintingInfo

public class PaintingInfo
extends java.lang.Object

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.


Constructor Summary
PaintingInfo()
           
 
Method Summary
 PaintingInfo copyOf()
           
 java.awt.Rectangle getAggregateBounds()
           
 java.awt.Dimension getOuterMarginCorner()
           
 void setAggregateBounds(java.awt.Rectangle aggregateBounds)
           
 void setOuterMarginCorner(java.awt.Dimension outerMarginCorner)
           
 void translate(int tx, int ty)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaintingInfo

public PaintingInfo()
Method Detail

getAggregateBounds

public java.awt.Rectangle getAggregateBounds()

setAggregateBounds

public void setAggregateBounds(java.awt.Rectangle aggregateBounds)

getOuterMarginCorner

public java.awt.Dimension getOuterMarginCorner()

setOuterMarginCorner

public void setOuterMarginCorner(java.awt.Dimension outerMarginCorner)

copyOf

public PaintingInfo copyOf()

translate

public void translate(int tx,
                      int ty)

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home