java.lang.Object
org.xhtmlrenderer.render.MarkerData
A bean containing information necessary to draw a list marker. This includes
font information from the block (for selecting the correct font when drawing
a text marker) or the data necessary to draw other types of markers. It
also includes a reference to the first line box in the block box (which in
turn may be nested inside of other block boxes). All markers are drawn
relative to the baseline of this line box.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionMarkerData(StrutMetrics structMetrics, @Nullable MarkerData.ImageMarker imageMarker, @Nullable MarkerData.GlyphMarker glyphMarker, @Nullable MarkerData.TextMarker textMarker) -
Method Summary
Modifier and TypeMethodDescription@Nullable MarkerData.GlyphMarker@Nullable MarkerData.ImageMarkerint@Nullable LineBox@Nullable MarkerData.TextMarkervoidrestorePreviousReferenceLine(LineBox current) voidsetReferenceLine(LineBox referenceLine)
-
Constructor Details
-
MarkerData
public MarkerData(StrutMetrics structMetrics, @Nullable MarkerData.ImageMarker imageMarker, @Nullable MarkerData.GlyphMarker glyphMarker, @Nullable MarkerData.TextMarker textMarker)
-
-
Method Details
-
getGlyphMarker
-
getTextMarker
-
getImageMarker
-
getStructMetrics
-
getLayoutWidth
public int getLayoutWidth() -
getReferenceLine
-
setReferenceLine
-
restorePreviousReferenceLine
-