Online documentation, manuals and tutorials
< All Topics
Print

Image

Description

This Widget displays an image.

More info

Properties

Specific

Image

ObjectReference

The name of the bitmap to be displayed.

Pivot X

Number

X position of the center of rotation. If left blank, the center of rotation is in the middle of the Widget.

Pivot Y

Number

Y position of the center of rotation. If left blank, the center of rotation is in the middle of the Widget.

Scale

Number

Scale factor. Set factor to 256 to disable zooming. A larger value enlarges the images (e.g. 512 double size), a smaller value shrinks it (e.g. 128 half size). Fractional scale works as well, e.g. 281 for 10% enlargement.

Rotation

Number

Rotation angle, angle has 0.1 degree precision, so for 45.8° set 458. Image is rotated around the centar of rotation which is defined with Pivot X and Pivot Y properties.

Examples

  • LVGL Widgets Demo
Page content