Uses of Class
com.openhtmltopdf.layout.Layer
| Package | Description |
|---|---|
| com.openhtmltopdf.layout | |
| com.openhtmltopdf.render | |
| com.openhtmltopdf.render.displaylist | |
| com.openhtmltopdf.render.simplepainter |
-
Uses of Layer in com.openhtmltopdf.layout
Methods in com.openhtmltopdf.layout that return Layer Modifier and Type Method Description LayerLayer. findRoot()LayerLayoutContext. getLayer()LayerLayer. getParent()LayerLayoutContext. getRootDocumentLayer()LayerLayoutContext. getRootLayer()Methods in com.openhtmltopdf.layout that return types with arguments of type Layer Modifier and Type Method Description List<Layer>Layer. collectLayers(int which)Called recusively to collect all descendant layers in a stacking context so they can be painted in correct order.List<Layer>Layer. getChildren()The resulting list should not be modified.List<Layer>Layer. getSortedLayers(int which)Methods in com.openhtmltopdf.layout with parameters of type Layer Modifier and Type Method Description voidLayer. addChild(Layer layer)voidBoxCollector. collect(CssContext c, Shape clip, Layer layer, Box container, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists)voidBoxCollector. collect(CssContext c, Shape clip, Layer layer, List<Box> blockContent, List<Box> inlineContent, BoxRangeLists rangeLists)voidFloatManager. floatBox(LayoutContext c, Layer layer, BlockFormattingContext bfc, BlockBox box)voidLayoutContext. pushLayer(Layer layer)voidLayoutContext. setRootDocumentLayer(Layer rootDocumentLayer)Constructors in com.openhtmltopdf.layout with parameters of type Layer Constructor Description Layer(Layer parent, Box master, CssContext c)Creates a child layer. -
Uses of Layer in com.openhtmltopdf.render
Methods in com.openhtmltopdf.render that return Layer Modifier and Type Method Description LayerBox. getContainingLayer()LayerFloatedBoxData. getDrawingLayer()LayerBox. getLayer()LayerRenderingContext. getRootLayer()Methods in com.openhtmltopdf.render with parameters of type Layer Modifier and Type Method Description voidInlineLayoutBox. addAllChildren(List<? super Box> list, Layer layer)voidLineBox. addAllChildren(List<? super Box> list, Layer layer)RectangleBox. getClipBox(RenderingContext c, Layer layer)Gets the combined clip of this box relative to the containing layer.RectangleBox. getParentClipBox(RenderingContext c, Layer layer)Gets the layer relative clip for the parent box.voidBox. setContainingLayer(Layer containingLayer)voidFloatedBoxData. setDrawingLayer(Layer drawingLayer)voidBox. setLayer(Layer layer)voidRenderingContext. setRootLayer(Layer rootLayer) -
Uses of Layer in com.openhtmltopdf.render.displaylist
Methods in com.openhtmltopdf.render.displaylist that return Layer Modifier and Type Method Description LayerPaintFixedLayer. getLayer()Methods in com.openhtmltopdf.render.displaylist with parameters of type Layer Modifier and Type Method Description protected voidDisplayListCollector. collect(RenderingContext c, Layer layer, DisplayListContainer dlPages, Set<DisplayListCollector.CollectFlags> flags)The main method to create a list of paint instruction for each page.voidPagedBoxCollector. collect(CssContext c, Layer layer)voidPagedBoxCollector. collect(CssContext c, Layer layer, Box container, int shadowPageNumber)The main box collection method.voidPagedBoxCollector. collect(CssContext c, Layer layer, Box container, int pgStart, int pgEnd, int shadowPageNumber)voidPagedBoxCollector. collectFloats(CssContext c, Layer layer)DisplayListContainerDisplayListCollector. collectRoot(RenderingContext c, Layer rootLayer)Use this method to collect all boxes recursively into a list of paint instructions for each page.protected intDisplayListCollector. findEndPage(RenderingContext c, Layer layer)static List<PagedBoxCollector.PageInfo>PagedBoxCollector. findLayerPages(CssContext c, Layer layer, List<PageBox> pages)Returns the pages a layer appears on including inserted overflow pages.static RectanglePagedBoxCollector. findLayerRect(CssContext c, Layer layer)protected intDisplayListCollector. findStartPage(RenderingContext c, Layer layer)protected voidDisplayListCollector. processPage(RenderingContext c, Layer layer, PagedBoxCollector.PageResult pg, DisplayListContainer.DisplayListPageContainer dlPageList, boolean includeFloats, int pageNumber, int shadowPageNumber)Convert a list of boxes to a list of paint instructions for a page.Constructors in com.openhtmltopdf.render.displaylist with parameters of type Layer Constructor Description PaintFixedLayer(Layer layer) -
Uses of Layer in com.openhtmltopdf.render.simplepainter
Methods in com.openhtmltopdf.render.simplepainter with parameters of type Layer Modifier and Type Method Description voidSimpleBoxCollector. collect(RenderingContext c, Layer layer)voidSimpleBoxCollector. collect(RenderingContext c, Layer layer, Box container)voidSimplePainter. paintLayer(RenderingContext c, Layer layer)