Package com.itextpdf.layout.renderer
Interface ILeafElementRenderer
- All Superinterfaces:
-
IPropertyContainer
,IRenderer
- All Known Implementing Classes:
-
ImageRenderer
,LinkRenderer
,TextRenderer
-
Method Summary
Modifier and TypeMethodDescriptionfloat
Gets the maximum offset above the base line that thisILeafElementRenderer
extends to.float
Gets the maximum offset below the base line that thisILeafElementRenderer
extends to.Methods inherited from interface com.itextpdf.layout.IPropertyContainer
deleteOwnProperty, getDefaultProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setProperty
Methods inherited from interface com.itextpdf.layout.renderer.IRenderer
addChild, draw, getChildRenderers, getModelElement, getNextRenderer, getOccupiedArea, getParent, getProperty, isFlushed, layout, move, setParent
-
Method Details
-
getAscent
float getAscent()Gets the maximum offset above the base line that thisILeafElementRenderer
extends to.- Returns:
-
the upwards vertical offset of this
ILeafElementRenderer
-
getDescent
float getDescent()Gets the maximum offset below the base line that thisILeafElementRenderer
extends to.- Returns:
-
the downwards vertical offset of this
ILeafElementRenderer
-