Package com.openhtmltopdf.layout
Class PaintingInfo
java.lang.Object
com.openhtmltopdf.layout.PaintingInfo
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyOf()
void
setAggregateBounds
(Rectangle aggregateBounds) void
setOuterMarginCorner
(Dimension outerMarginCorner) void
translate
(int tx, int ty)
-
Field Details
-
_outerMarginCorner
-
_aggregateBounds
-
-
Constructor Details
-
PaintingInfo
public PaintingInfo()
-
-
Method Details
-
getAggregateBounds
-
setAggregateBounds
-
getOuterMarginCorner
-
setOuterMarginCorner
-
copyOf
-
translate
public void translate(int tx, int ty)
-