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 IImageView

interface IImageView
Extends IView IImageView is an IView which presents IImage objects.

Methods

setImage()

void setImage(IImage* image)
Sets an IImage that this IImageView presents.

Parameters

image
IImage* — Required IImage returned by IImageLoader.

setAlignment()

void setAlignment(ImageAlignment alignment)
Sets the ImageAlignment of the IImageView.

Parameters

alignment
ImageAlignment — Required See ImageAlignment.

getAlignment()

ImageAlignment getAlignment()
Gets the ImageAlignment of the IImageView.

Returns

ImageAlignment alignment See ImageAlignment.

setFit()

void setFit(Fit* fit)
Sets the Fit behavior of the IImageView.

Parameters

fit
Fit* — Required See Fit.

getFit()

Fit getFit()
Gets the Fit behavior of the IImageView.

Returns

Fit fit See Fit.
Last modified on October 29, 2026