Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

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()

void setGraphicsImage(com.amazon.kepler.uitoolkit.graphics.IImage* image)
Sets an 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.
Last modified on October 29, 2026