Uses of Class
com.openhtmltopdf.layout.Layer
Packages that use Layer
Package
Description
-
Uses of Layer in com.openhtmltopdf.layout
Methods in com.openhtmltopdf.layout that return LayerModifier and TypeMethodDescriptionLayer.findRoot()LayoutContext.getLayer()Layer.getParent()LayoutContext.getRootDocumentLayer()LayoutContext.getRootLayer()Methods in com.openhtmltopdf.layout that return types with arguments of type LayerModifier and TypeMethodDescriptionLayer.collectLayers(int which) Called recusively to collect all descendant layers in a layer tree so they can be painted in correct order.Layer.getChildren()The resulting list should not be modified.Layer.getSortedLayers(int which) Methods in com.openhtmltopdf.layout with parameters of type LayerModifier and TypeMethodDescriptionvoidvoidBoxCollector.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) voidvoidLayoutContext.setRootDocumentLayer(Layer rootDocumentLayer) Constructors in com.openhtmltopdf.layout with parameters of type LayerModifierConstructorDescriptionLayer(Layer parent, Box master, CssContext c) Creates a child layer. -
Uses of Layer in com.openhtmltopdf.pdfboxout
Methods in com.openhtmltopdf.pdfboxout that return types with arguments of type LayerModifier and TypeMethodDescriptionPdfBoxRenderer.getLayerPositions(Layer layer) Returns a list of page positions for a single layer.PdfBoxRenderer.getLayersPositions()Returns a list of page positions for all layers in the document.Methods in com.openhtmltopdf.pdfboxout with parameters of type LayerModifier and TypeMethodDescriptionPdfBoxRenderer.getLayerPositions(Layer layer) Returns a list of page positions for a single layer. -
Uses of Layer in com.openhtmltopdf.render
Methods in com.openhtmltopdf.render that return LayerModifier and TypeMethodDescriptionBox.getContainingLayer()FloatedBoxData.getDrawingLayer()Box.getLayer()RenderingContext.getRootLayer()Methods in com.openhtmltopdf.render with parameters of type LayerModifier and TypeMethodDescriptionvoidInlineLayoutBox.addAllChildren(List<? super Box> list, Layer layer) voidLineBox.addAllChildren(List<? super Box> list, Layer layer) Box.getClipBox(RenderingContext c, Layer layer) Gets the combined clip of this box relative to the containing layer.Box.getParentClipBox(RenderingContext c, Layer layer) Gets the layer relative clip for the parent box.voidBox.setContainingLayer(Layer containingLayer) voidFloatedBoxData.setDrawingLayer(Layer drawingLayer) voidvoidRenderingContext.setRootLayer(Layer rootLayer) -
Uses of Layer in com.openhtmltopdf.render.displaylist
Methods in com.openhtmltopdf.render.displaylist that return LayerMethods in com.openhtmltopdf.render.displaylist with parameters of type LayerModifier and TypeMethodDescriptionprotected 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) DisplayListCollector.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 -
Uses of Layer in com.openhtmltopdf.render.simplepainter
Methods in com.openhtmltopdf.render.simplepainter with parameters of type LayerModifier and TypeMethodDescriptionvoidSimpleBoxCollector.collect(RenderingContext c, Layer layer) voidSimpleBoxCollector.collect(RenderingContext c, Layer layer, Box container) voidSimplePainter.paintLayer(RenderingContext c, Layer layer) -
Uses of Layer in com.openhtmltopdf.util
Methods in com.openhtmltopdf.util with parameters of type LayerModifier and TypeMethodDescriptionstatic StringLambdaUtil.layerDescription(Layer layer) Null-safe layer description including object id, toString and master box description.