Interface IImageView2
interface IImageView2
Extends IImageView
This interface extends IImageView with additional functionality to
set a decoded image or an image created from UI graphics module.
Methods
setGraphicsImage()
Sets anvoidsetGraphicsImage(com.amazon.kepler.uitoolkit.graphics.IImage*image)
com.amazon.kepler.uitoolkit.graphics.IImage that this
image view presents for rendering.
If there is an encoded image in the form of bytes, it could be decoded
to create a graphics image and this method could be used to render it.
This method could be also used to render an image extracted from a
surface com.amazon.kepler.uitoolkit.graphics.ISurface, after
applying some operations like image filters on the canvas of a surface.
This API takes ownership of the image and the caller need not maintain
the lifetime of the image.
Parameters
image
com.amazon.kepler.uitoolkit.graphics.IImage* — Required
com.amazon.kepler.uitoolkit.graphics.IImage created
from UI graphics module.

