- All Superinterfaces:
ReplacedElement
- All Known Implementing Classes:
DeferredImageReplacedElement,InstantImageReplacedElement
An ImageReplacedElement is a
ReplacedElement that contains a Image. It's used as a
container for images included within XML being rendered. The image contained is immutable.-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddefault intgetImage()The image we're replacingdefault booleandefault booleanMethods inherited from interface org.xhtmlrenderer.extend.ReplacedElement
getIntrinsicHeight, getIntrinsicWidth, getLocation, setLocation
-
Method Details
-
getImage
Image getImage()The image we're replacing -
detach
- Specified by:
detachin interfaceReplacedElement
-
isRequiresInteractivePaint
default boolean isRequiresInteractivePaint()- Specified by:
isRequiresInteractivePaintin interfaceReplacedElement
-
hasBaseline
default boolean hasBaseline()- Specified by:
hasBaselinein interfaceReplacedElement
-
getBaseline
default int getBaseline()- Specified by:
getBaselinein interfaceReplacedElement
-