Image
Types
Functions
Adds an event callback to this object.
Add a state to the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.
Add one or more states to the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.
Remove a state from the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.
Remove one or more states to the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current.
Check if a given flag, or any of the flags are set on an object.
Check if a given flag is set on an object.
Check if a given flag or all the given flags are set on an object.
Check if the object is in a given state or not.
Redraws the LVGL object.
Forces the object's scroll bar to be redrawn.
Moves the object's background.
Moves the object's foreground.
Readjusts scrolling.
Readjusts scrolling.
Removes all styles from the LVGL object.
Removes an existing event callback from this object.
Removes the style from the LVGL object.
Scale the given number of pixels (a distance or size) relative to a 160 DPI display, considering the DPI of the object's display. It ensures that e.g. lv_dpx(100) will have the same physical size regardless to the DPI of the display.
Scrolls to the object.
Scrolls to the object recursively.
Manually sends an event to this object.
Changes the object's alignment. Can use LvglAlignment in combination with LvglAlignment.value as alignment.
Changes the position of the object.
Updates layout on the object.
Properties
Extensions
Get the alignment which determines from which point of the parent the X and Y coordinates should be interpreted.
Gets the arc color filter.
Get the color of the arc.
Get the opacity of the arcs.
Get whether the end points of the arcs are rounded or not.
Get the width (thickness) of the arcs in pixels.
Get the background color of the object.
Get the gradient color of the background. Used only if grad_dir isn't LV_GRAD_DIR_NONE.
Get the direction of the gradient of the background.
Get the point from which the background's gradient color should start.
Get the opacity of the background image.
Get the intensity of background image recoloring.
Set a color to mix to the background image.
Whether the background image will be tiled.
Get the point from which the background color should start for gradients.
Get the opacity of the background.
Get the border color filter.
Get the color of the border.
Get the opacity of the border.
Get whether the border should be drawn before or after the children are drawn.
Get which side(s) the border should be drawn.
Get the width of the border.
Get the intensity of mixing of color filter.
Get the Flexbox cross place.
Get the Flexbox layout setup style on the object.
Get the Flexbox grow on the object.
Get the Flexbox main place.
Get the Flexbox track place.
Sets the height of the LVGL object.
Get the opacity of an image.
Get the intensity of the color mixing.
Get color to mix to the image.
Get the layout used as part of the object styling.
Get the color of the lines.
Get the gap between dashes in pixels.
Get the width of dashes in pixels.
Get the opacity of the lines.
Whether end points of the lines are rounded.
Get the width of the lines in pixels.
Get the maximum height.
Get the maximum width.
Get the minimum height.
Gets the minimum width.
Get the opacity of the object.
Get the color of the outline.
Get the opacity of the outline.
Get the padding of the outline, i.e. the gap between object and the outline.
Get the width of the outline in pixels.
Get the padding on the bottom.
Get the padding between the columns. Used by the layouts.
Get the padding on the left.
Get the padding on the right.
Get the padding between the rows. Used by the layouts.
Get the padding on the top.
Get the radius on every corner.
Get the color of the shadow.
Get the opacity of the shadow.
Get the shadow calculation to use a larger or smaller rectangle as base.
Get the width of the shadow in pixels.
Get an offset on the shadow in pixels in X direction.
Get an offset on the shadow in pixels in Y direction.
Get how to align the lines of the text.
Get the color of the text.
Get decoration for the text.
Get the text font.
Get the letter space.
Get the line space.
Get the opacity of the text.
Get the transform angle.
Get the transform height.
Get the transform width.
Get the zoom transformation.
Get the X translation.
Get the Y translation.
Get the width of the LVGL object.
Get the X coordinate of the LVGL object considering the set align.
Get the Y coordinate of the LVGL object considering the set align.
Set the alignment which determines from which point of the parent the X and Y coordinates should be interpreted.
Set the color of the arc.
Set an image from which the arc will be masked out. It's useful to display complex effects on the arcs.
Set the opacity of the arcs.
Set if the points of the arcs rounded or not.
Set the width (thickness) of the arcs in pixels.
Set the background color of the object.
Set the gradient color of the background. Used only if grad_dir isn't LV_GRAD_DIR_NONE.
Set the direction of the gradient of the background. The possible values are LV_GRAD_DIR_NONE/HOR/VER.
Set the point from which the background's gradient color should start.
Set the opacity of the background image. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 256, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc indicate semi-transparency.
Set the intensity of background image recoloring. Value 0, LV_OPA_0 or LV_OPA_TRANSP means no mixing, 256, LV_OPA_100 or LV_OPA_COVER means full recoloring, other values or LV_OPA_10, LV_OPA_20, etc are interpreted proportionally.
Set a color to mix to the background image.
Set a background image from a String.
Set a background image from a StringReference.
If enabled the background image will be tiled.
Set the point from which the background color should start for gradients.
Set the opacity of the background. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 256, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc indicate semi-transparency.
Set the color of the border.
Set the opacity of the border. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 256, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc indicate semi-transparency.
Sets whether the border should be drawn before or after the children are drawn.
Set which side(s) the border should be drawn. The possible values are LV_BORDER_SIDE_NONE/TOP/BOTTOM/LEFT/RIGHT/INTERNAL. Note that OR-ed values can be used as well, e.g. LV_BORDER_SIDE_TOP | LV_BORDER_SIDE_LEFT.
Set the width of the border.
Set the intensity of mixing of color filter.
Manages placement of children in a Flexbox layout. The possible values are the following:
Set the Flexbox cross place.
Sets up the Flexbox layout on the object. All possible values for this function include the following:
Sets up the Flexbox layout style on the object. All possible values for this function include the following:
Used to make one or more children fill the available space on the track. If more children has grow the available space will be distributed proportionally to the grow values. For example, let's say there is 400 pixels remaining space and 4 objects with grow:
Used to make one or more children fill the available space on the track. If more children has grow the available space will be distributed proportionally to the grow values. For example, let's say there is 400 pixels remaining space and 4 objects with grow:
Set the Flexbox main place.
Set the Flexbox track place.
Changes the grid alignment.
Set the cell of an object. The object's parent needs to have grid layout, else nothing will happen.
Sets the height of the LVGL object. Pixel, percentage and LV_SIZE_CONTENT can be used. Percentage values are relative to the height of the parent's content area.
Set the opacity of an image. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 256, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc indicate semi-transparency.
Set the intensity of the color mixing. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 256, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc indicate semi-transparency.
Set color to mix to the image.
Set the layout used as part of the object styling.
Set the color of the lines.
Set the gap between dashes in pixels. Note that dash works only on horizontal and vertical lines.
Set the width of dashes in pixels. Note that dash works only on horizontal and vertical lines.
Set the opacity of the lines.
Make the end points of the lines rounded.
Set the width of the lines in pixels.
Sets the maximum height. Pixel and percentage values can be used. Percentage values are relative to the height of the parent's content area.
Sets the maximum width. Pixel and percentage values can be used. Percentage values are relative to the width of the parent's content area.
Sets the minimum height. Pixel and percentage values can be used. Percentage values are relative to the width of the parent's content area.
Sets the minimum width. Pixel and percentage values can be used. Percentage values are relative to the width of the parent's content area.
Scale down all opacity values of the object by this factor. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 256, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc indicate semi-transparency.
Set the color of the outline.
Set the opacity of the outline. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 256, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc indicate semi-transparency.
Set the padding of the outline, i.e. the gap between object and the outline.
Set the width of the outline in pixels.
Sets the padding on all sides.
Sets the padding on the bottom. It makes the content area smaller in this direction.
Sets the padding between the columns. Used by the layouts.
Sets the padding on the left. It makes the content area smaller in this direction.
Sets the padding on the right. It makes the content area smaller in this direction.
Sets the padding between the rows. Used by the layouts.
Sets the padding on the top. It makes the content area smaller in this direction.
Set the radius on every corner.
Set the color of the shadow.
Set the opacity of the shadow. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 256, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc indicate semi-transparency.
Make the shadow calculation to use a larger or smaller rectangle as base. The value can be in pixel to make the area larger/smaller.
Set the width of the shadow in pixels. The value should be >= 0.
Set an offset on the shadow in pixels in X direction.
Set an offset on the shadow in pixels in Y direction.
Set how to align the lines of the text. Note that it doesn't align the object itself, only the lines inside the object. The possible values are LEFT/CENTER/RIGHT/AUTO. Use TextAlignment.AUTO to detect the text base direction and use left or right alignment accordingly.
Set the color of the text.
Set decoration for the text. The possible values are LV_TEXT_DECOR_NONE/UNDERLINE/STRIKETHROUGH. Note that OR-ed values can be used as well.
Set the text font.
Set the letter space.
Set the line space.
Set the opacity of the text. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 256, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc indicate semi-transparency.
Rotate image-like objects. Added to the rotation set on the object. The value is interpreted in 0.1 degree unit. E.g. 45 deg. = 450
Make the object higher on both sides with this value. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to the object's height.
Make the object wider on both sides with this value. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to the object's width.
Zoom image-like objects. Multiplied with the zoom set on the object. The value 256 (or LV_IMG_ZOOM_NONE) means normal size, 128 half size, 512 double size, and so on.
Move the object with this value in X direction. Applied after layouts, aligns and other positioning. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to the object's width.
Move the object with this value in Y direction. Applied after layouts, aligns and other positioning. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to the object's height.
Sets the width of the LVGL object. Pixel, percentage and LV_SIZE_CONTENT values can be used.
Set the X coordinate of the LVGL object considering the set align. Pixel and percentage values can be used. Percentage values are relative to the width of the parent's content area.
Set the Y coordinate of the LVGL object considering the set align. Pixel and percentage values can be used. Percentage values are relative to the height of the parent's content area.