Image

An Image widget is used to display images within the UI. It supports various fitting modes and scales, and it can load images from different sources.

Props

decoratenametypedescription
walkwalkWalkDetermines the layout and positioning of the image.
livedraw_bgDrawQuadThe drawing background quad for the image.
livemin_widthi64The minimum width of the image.
livemin_heighti64The minimum height of the image.
livewidth_scalef64The scale factor for the width of the image.
livefitImageFitThe fitting mode for the image.
livesourceLiveDependencyThe source path or dependency for the image.
rusttextureOption<Texture>The texture of the image, if loaded.

SeeWalk

SeeDrawQuad

SeeImageFit

SeeLiveDependency

Event

No specific events are defined for the Image widget.