Package org.xhtmlrenderer.pdf
Class BookmarkElement
java.lang.Object
org.xhtmlrenderer.pdf.BookmarkElement
- All Implemented Interfaces:
ReplacedElement,ITextReplacedElement
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid@Nullable StringintintintReturns the current location where the element will be rendered on the canvasbooleanbooleanvoidpaint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box) voidsetLocation(int x, int y) Assigns the new locations where the element will be rendered.
-
Field Details
-
_location
-
_anchorName
-
-
Constructor Details
-
BookmarkElement
-
-
Method Details
-
getIntrinsicWidth
public int getIntrinsicWidth()- Specified by:
getIntrinsicWidthin interfaceReplacedElement
-
getIntrinsicHeight
public int getIntrinsicHeight()- Specified by:
getIntrinsicHeightin interfaceReplacedElement
-
getLocation
Description copied from interface:ReplacedElementReturns the current location where the element will be rendered on the canvas- Specified by:
getLocationin interfaceReplacedElement
-
setLocation
public void setLocation(int x, int y) Description copied from interface:ReplacedElementAssigns the new locations where the element will be rendered.- Specified by:
setLocationin interfaceReplacedElement- Parameters:
x- new horizontal positiony- new vertical position
-
detach
- Specified by:
detachin interfaceReplacedElement
-
getAnchorName
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()- Specified by:
isRequiresInteractivePaintin interfaceReplacedElement
-
paint
- Specified by:
paintin interfaceITextReplacedElement
-
getBaseline
public int getBaseline()- Specified by:
getBaselinein interfaceReplacedElement
-
hasBaseline
public boolean hasBaseline()- Specified by:
hasBaselinein interfaceReplacedElement
-