Package org.xhtmlrenderer.render
Class ListItemPainter
java.lang.Object
org.xhtmlrenderer.render.ListItemPainter
A utility class to paint list markers (all types).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
drawGlyph
(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) private static void
drawImage
(RenderingContext c, BlockBox box, MarkerData markerData) private static void
drawText
(RenderingContext c, BlockBox box, IdentValue listStyle) private static int
getHeightOfFirstChild
(Box box) private static int
private static int
private static int
getReferenceX
(RenderingContext c, BlockBox box) static void
paint
(RenderingContext c, BlockBox box)
-
Constructor Details
-
ListItemPainter
public ListItemPainter()
-
-
Method Details
-
paint
-
drawImage
-
getReferenceX
-
drawGlyph
private static void drawGlyph(RenderingContext c, BlockBox box, CalculatedStyle style, IdentValue listStyle) -
getListItemCenterBaseline
-
getHeightOfFirstChild
-
drawText
-
getReferenceBaseline
-