Skip to content
On this page

Image

An image is a commonly used interface element used to display graphics or icons. It can be used to enhance the visual appeal of the interface, convey information, or provide visual feedback.

For more detailed information, you can refer to this link: https://docs.lvgl.io/8.3/widgets/core/img.html

Properties

An image has several properties to define its behavior and appearance. Here are some common image properties:

  • Image Source: Specifies the path or URL of the image to be displayed.
  • Image Opacity: Controls the opacity of the image.
  • Rotation Pivot: Specifies the rotation pivot point of the image.
  • Rotation Angle: Controls the rotation angle of the image.
Image Properties
Image Sourcelv_img_set_src
Image Opacitylv_obj_set_style_img_opa
Rotation Pivotlv_img_set_pivot
Rotation Anglelv_img_set_angle

Example

img_1.png