Package org.xhtmlrenderer.render
Class PageBox.MarginArea
java.lang.Object
org.xhtmlrenderer.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 sealed class PageBox.MarginArea
extends Object
permits PageBox.TopLeftCorner, PageBox.TopRightCorner, PageBox.BottomRightCorner, PageBox.BottomLeftCorner, PageBox.LeftMarginArea, PageBox.RightMarginArea, PageBox.TopMarginArea, PageBox.BottomMarginArea
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateMarginArea(MarginBoxName marginBoxName) privateMarginArea(MarginBoxName[] marginBoxNames) -
Method Summary
Modifier and TypeMethodDescriptionabstract DimensiongetLayoutDimension(CssContext c, PageBox page, RectPropertySet margin) abstract PointgetPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, Layer.PagedMode mode)
-
Field Details
-
_marginBoxNames
-
-
Constructor Details
-
MarginArea
-
MarginArea
-
-
Method Details
-
getLayoutDimension
-
getPaintingPosition
@CheckReturnValue public abstract Point getPaintingPosition(RenderingContext c, PageBox page, int additionalClearance, Layer.PagedMode mode) -
getMarginBoxNames
-
getDirection
-