Package com.openhtmltopdf.render
Class PageBox.MarginArea
- java.lang.Object
-
- com.openhtmltopdf.render.PageBox.MarginArea
-
- Direct Known Subclasses:
PageBox.BottomLeftCorner
,PageBox.BottomMarginArea
,PageBox.BottomRightCorner
,PageBox.LeftMarginArea
,PageBox.RightMarginArea
,PageBox.TopLeftCorner
,PageBox.TopMarginArea
,PageBox.TopRightCorner
- Enclosing class:
- PageBox
private abstract static class PageBox.MarginArea extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private MarginBoxName[]
_marginBoxNames
-
Constructor Summary
Constructors Constructor Description MarginArea(MarginBoxName marginBoxName)
MarginArea(MarginBoxName[] marginBoxNames)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
getDirection()
abstract java.awt.Dimension
getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)
MarginBoxName[]
getMarginBoxNames()
abstract java.awt.Point
getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
-
-
-
Field Detail
-
_marginBoxNames
private final MarginBoxName[] _marginBoxNames
-
-
Constructor Detail
-
MarginArea
public MarginArea(MarginBoxName marginBoxName)
-
MarginArea
public MarginArea(MarginBoxName[] marginBoxNames)
-
-
Method Detail
-
getLayoutDimension
public abstract java.awt.Dimension getLayoutDimension(CssContext c, PageBox page, RectPropertySet margin)
-
getPaintingPosition
public abstract java.awt.Point getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, short mode)
-
getMarginBoxNames
public MarginBoxName[] getMarginBoxNames()
-
getDirection
public int getDirection()
-
-