LvglObjectBase

expect interface LvglObjectBase : Closable

Represents a LVGL object.

actual interface LvglObjectBase : Closable
actual interface LvglObjectBase : Closable

Functions

Link copied to clipboard
expect open fun addEventCallback(filter: LvglEventType, callback: LvglEventCallback)
expect open fun addEventCallback(filter: UInt, callback: LvglEventCallback)

Adds an event callback to this object.

actual open fun addEventCallback(filter: LvglEventType, callback: LvglEventCallback)
actual open fun addEventCallback(filter: UInt, callback: LvglEventCallback)
actual open fun addEventCallback(filter: LvglEventType, callback: LvglEventCallback)
actual open fun addEventCallback(filter: UInt, callback: LvglEventCallback)
Link copied to clipboard
expect open fun addFlag(flag: LvglFlag)

Set a flag.

expect open fun addFlag(flags: UInt)

Set one or more flags.

actual open fun addFlag(flag: LvglFlag)
actual open fun addFlag(flags: UInt)
actual open fun addFlag(flag: LvglFlag)
actual open fun addFlag(flags: UInt)
Link copied to clipboard
expect open fun addState(state: LvglState)

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.

expect open fun addState(state: UShort)

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.

actual open fun addState(state: LvglState)
actual open fun addState(state: UShort)
actual open fun addState(state: LvglState)
actual open fun addState(state: UShort)
Link copied to clipboard
expect open fun addStyle(style: Style, selector: UInt)

Adds a new style to the LVGL object.

actual open fun addStyle(style: Style, selector: UInt)
actual open fun addStyle(style: Style, selector: UInt)
Link copied to clipboard
expect open fun align(align: UByte, xOffset: Short, yOffset: Short)

Aligns the object relative to its parent.

actual open fun align(align: UByte, xOffset: Short, yOffset: Short)
actual open fun align(align: UByte, xOffset: Short, yOffset: Short)
Link copied to clipboard
expect open fun alignTo(base: LvglObjectBase, align: UByte, xOffset: Short, yOffset: Short)

Aligns the object to another object.

actual open fun alignTo(base: LvglObjectBase, align: UByte, xOffset: Short, yOffset: Short)
actual open fun alignTo(base: LvglObjectBase, align: UByte, xOffset: Short, yOffset: Short)
Link copied to clipboard
expect open fun center()

Centers the object relative to its parent.

actual open fun center()
actual open fun center()
Link copied to clipboard
expect open fun clean()

Removes all the object's children.

actual open fun clean()
actual open fun clean()
Link copied to clipboard
expect open fun clearFlag(flag: LvglFlag)

Clear a flag.

expect open fun clearFlag(flags: UInt)

Clear one or more flags.

actual open fun clearFlag(flag: LvglFlag)
actual open fun clearFlag(flags: UInt)
actual open fun clearFlag(flag: LvglFlag)
actual open fun clearFlag(flags: UInt)
Link copied to clipboard
expect open fun clearState(state: LvglState)

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.

expect open fun clearState(state: UShort)

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.

actual open fun clearState(state: LvglState)
actual open fun clearState(state: UShort)
actual open fun clearState(state: LvglState)
actual open fun clearState(state: UShort)
close
Link copied to clipboard
abstract fun close()
open override fun close()
open override fun close()
Link copied to clipboard
expect open fun getState(): UShort

Get the state of an object.

actual open fun getState(): UShort
actual open fun getState(): UShort
Link copied to clipboard
expect open fun hasAnyFlag(flags: UInt): Boolean

Check if a given flag, or any of the flags are set on an object.

actual open fun hasAnyFlag(flags: UInt): Boolean
actual open fun hasAnyFlag(flags: UInt): Boolean
Link copied to clipboard
expect open fun hasFlag(flag: LvglFlag): Boolean

Check if a given flag is set on an object.

expect open fun hasFlag(flags: UInt): Boolean

Check if a given flag or all the given flags are set on an object.

actual open fun hasFlag(flag: LvglFlag): Boolean
actual open fun hasFlag(flags: UInt): Boolean
actual open fun hasFlag(flag: LvglFlag): Boolean
actual open fun hasFlag(flags: UInt): Boolean
Link copied to clipboard
expect open fun hasState(state: LvglState): Boolean
expect open fun hasState(state: UShort): Boolean

Check if the object is in a given state or not.

actual open fun hasState(state: LvglState): Boolean
actual open fun hasState(state: UShort): Boolean
actual open fun hasState(state: LvglState): Boolean
actual open fun hasState(state: UShort): Boolean
Link copied to clipboard
expect open fun invalidate()

Redraws the LVGL object.

actual open fun invalidate()
actual open fun invalidate()
Link copied to clipboard
expect open fun invalidateScrollBar()

Forces the object's scroll bar to be redrawn.

actual open fun invalidateScrollBar()
actual open fun invalidateScrollBar()
Link copied to clipboard
expect open fun moveBackground()

Moves the object's background.

actual open fun moveBackground()
actual open fun moveBackground()
Link copied to clipboard
expect open fun moveForeground()

Moves the object's foreground.

actual open fun moveForeground()
actual open fun moveForeground()
Link copied to clipboard
expect open fun moveTo(xPos: Short, yPos: Short)

Moves the object to a new position.

actual open fun moveTo(xPos: Short, yPos: Short)
actual open fun moveTo(xPos: Short, yPos: Short)
Link copied to clipboard
expect open fun readjustScroll(enableAnimation: Boolean)

Readjusts scrolling.

actual open fun readjustScroll(enableAnimation: Boolean)

Readjusts scrolling.

actual open fun readjustScroll(enableAnimation: Boolean)
Link copied to clipboard
expect open fun removeAllStyles()

Removes all styles from the LVGL object.

actual open fun removeAllStyles()
actual open fun removeAllStyles()
Link copied to clipboard
expect open fun removeEventCallback(callback: LvglEventCallback): Boolean

Removes an existing event callback from this object.

actual open fun removeEventCallback(callback: LvglEventCallback): Boolean
actual open fun removeEventCallback(callback: LvglEventCallback): Boolean
Link copied to clipboard
expect open fun removeStyle(style: Style, selector: UInt)

Removes the style from the LVGL object.

actual open fun removeStyle(style: Style, selector: UInt)
actual open fun removeStyle(style: Style, selector: UInt)
Link copied to clipboard
expect open fun scalePixels(pixels: Short): Short

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.

actual open fun scalePixels(pixels: Short): Short
actual open fun scalePixels(pixels: Short): Short
Link copied to clipboard
expect open fun scrollBy(xPos: Short, yPos: Short, enableAnimation: Boolean)

Scrolls the object by x and y.

actual open fun scrollBy(xPos: Short, yPos: Short, enableAnimation: Boolean)
actual open fun scrollBy(xPos: Short, yPos: Short, enableAnimation: Boolean)
Link copied to clipboard
expect open fun scrollTo(xPos: Short, yPos: Short, enableAnimation: Boolean)

Scrolls the object to the position (x and y).

actual open fun scrollTo(xPos: Short, yPos: Short, enableAnimation: Boolean)
actual open fun scrollTo(xPos: Short, yPos: Short, enableAnimation: Boolean)
Link copied to clipboard
expect open fun scrollToView(enableAnimation: Boolean)

Scrolls to the object.

actual open fun scrollToView(enableAnimation: Boolean)
actual open fun scrollToView(enableAnimation: Boolean)
Link copied to clipboard
expect open fun scrollToViewRecursive(enableAnimation: Boolean)

Scrolls to the object recursively.

actual open fun scrollToViewRecursive(enableAnimation: Boolean)
actual open fun scrollToViewRecursive(enableAnimation: Boolean)
Link copied to clipboard
expect open fun scrollToX(xPos: Short, enableAnimation: Boolean)

Scrolls the object to xPos.

actual open fun scrollToX(xPos: Short, enableAnimation: Boolean)
actual open fun scrollToX(xPos: Short, enableAnimation: Boolean)
Link copied to clipboard
expect open fun scrollToY(yPos: Short, enableAnimation: Boolean)

Scrolls the object to yPos.

actual open fun scrollToY(yPos: Short, enableAnimation: Boolean)
actual open fun scrollToY(yPos: Short, enableAnimation: Boolean)
Link copied to clipboard
expect open fun sendEvent(eventCode: UInt, param: StringReference? = null)
expect open fun sendEvent(eventCode: UInt, param: String? = null): StringReference?

Manually sends an event to this object.

actual open fun sendEvent(eventCode: UInt, param: StringReference?)
actual open fun sendEvent(eventCode: UInt, param: String?): StringReference?
actual open fun sendEvent(eventCode: UInt, param: StringReference?)
actual open fun sendEvent(eventCode: UInt, param: String?): StringReference?
Link copied to clipboard
expect open fun setAlignment(alignment: UByte)

Changes the object's alignment. Can use LvglAlignment in combination with LvglAlignment.value as alignment.

actual open fun setAlignment(alignment: UByte)
actual open fun setAlignment(alignment: UByte)
Link copied to clipboard
expect open fun setLayout(layout: UInt)

Changes the layout.

actual open fun setLayout(layout: UInt)
actual open fun setLayout(layout: UInt)
Link copied to clipboard
expect open fun setPosition(xPos: Short, yPos: Short)

Changes the position of the object.

actual open fun setPosition(xPos: Short, yPos: Short)
actual open fun setPosition(xPos: Short, yPos: Short)
Link copied to clipboard
expect open fun setSize(width: Short, height: Short)

Changes the object's size.

actual open fun setSize(width: Short, height: Short)
actual open fun setSize(width: Short, height: Short)
Link copied to clipboard
expect open fun updateLayout()

Updates layout on the object.

actual open fun updateLayout()
actual open fun updateLayout()

Properties

Link copied to clipboard
expect open var contentHeight: Short

The content height.

actual open var contentHeight: Short
actual open var contentHeight: Short
Link copied to clipboard
expect open var contentWidth: Short

The content width.

actual open var contentWidth: Short
actual open var contentWidth: Short
Link copied to clipboard
expect open val group: LvglObjectBase?

The object's group.

actual open val group: LvglObjectBase?
actual open val group: LvglObjectBase?
Link copied to clipboard
expect open var height: Short

The vertical size of the object.

actual open var height: Short
actual open var height: Short
Link copied to clipboard
expect open val isEditable: Boolean

Will be true if the object can be edited.

actual open val isEditable: Boolean
actual open val isEditable: Boolean
Link copied to clipboard
expect open val isScrolling: Boolean

Will be true if the object is scrolling.

actual open val isScrolling: Boolean
actual open val isScrolling: Boolean
Link copied to clipboard
expect open val isValid: Boolean

Check if any object is still alive, and part of the hierarchy.

actual open val isValid: Boolean
actual open val isValid: Boolean
Link copied to clipboard
expect open val isVisible: Boolean

Will be true if the object is visible.

actual open val isVisible: Boolean
actual open val isVisible: Boolean
lvObjPtr
Link copied to clipboard
abstract val lvObjPtr: CPointer<lv_obj_t>?
abstract val lvObjPtr: CPointer<lv_obj_t>?
Link copied to clipboard
expect open var parent: LvglObjectBase?

The object's parent.

actual open var parent: LvglObjectBase?
actual open var parent: LvglObjectBase?
Link copied to clipboard
expect open val screen: LvglObjectBase

The object's screen.

actual open val screen: LvglObjectBase
actual open val screen: LvglObjectBase
Link copied to clipboard
expect open val scrollBarArea: Pair<Area, Area>

The scroll bar area. Split into horizontal and vertical areas.

actual open val scrollBarArea: Pair<Area, Area>
actual open val scrollBarArea: Pair<Area, Area>
Link copied to clipboard
expect open var scrollBarMode: ScrollBarMode

The scroll bar mode.

actual open var scrollBarMode: ScrollBarMode
actual open var scrollBarMode: ScrollBarMode
Link copied to clipboard
expect open val scrollBottom: Short

The bottom position of the scroll.

actual open val scrollBottom: Short
actual open val scrollBottom: Short
Link copied to clipboard
expect open var scrollDir: UByte

The scroll direction (eg LV_DIR_TOP). Do note that this property can be set with or-ed values, eg LV_DIR_TOP or LV_DIR_LEFT. Below are the possible values:

actual open var scrollDir: UByte
actual open var scrollDir: UByte
Link copied to clipboard
expect open val scrollEnd: Point

The end point of the scroll.

actual open val scrollEnd: Point
actual open val scrollEnd: Point
Link copied to clipboard
expect open val scrollLeft: Short

The left position of the scroll.

actual open val scrollLeft: Short
actual open val scrollLeft: Short
Link copied to clipboard
expect open val scrollRight: Short

The right position of the scroll.

actual open val scrollRight: Short
actual open val scrollRight: Short
Link copied to clipboard
expect open val scrollSnapXPos: UByte

The horizontal position of the scroll snap.

actual open val scrollSnapXPos: UByte
actual open val scrollSnapXPos: UByte
Link copied to clipboard
expect open val scrollSnapYPos: UByte

The vertical position of the scroll snap.

actual open val scrollSnapYPos: UByte
actual open val scrollSnapYPos: UByte
Link copied to clipboard
expect open val scrollTop: Short

The top position of the scroll.

actual open val scrollTop: Short
actual open val scrollTop: Short
Link copied to clipboard
expect open val scrollXPos: Short

The horizontal position of the scroll.

actual open val scrollXPos: Short
actual open val scrollXPos: Short
Link copied to clipboard
expect open val scrollYPos: Short

The vertical position of the scroll.

actual open val scrollYPos: Short
actual open val scrollYPos: Short
Link copied to clipboard
expect open val selfHeight: Short

Self height.

actual open val selfHeight: Short
actual open val selfHeight: Short
Link copied to clipboard
expect open val selfWidth: Short

Self width.

actual open val selfWidth: Short
actual open val selfWidth: Short
Link copied to clipboard
expect open var width: Short

The horizontal size of the object.

actual open var width: Short
actual open var width: Short
Link copied to clipboard
expect open var xPos: Short

X coordinate.

actual open var xPos: Short
actual open var xPos: Short
Link copied to clipboard
expect open var yPos: Short

Y coordinate.

actual open var yPos: Short
actual open var yPos: Short

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard

Get the alignment which determines from which point of the parent the X and Y coordinates should be interpreted.

Link copied to clipboard

Gets the arc color filter.

Link copied to clipboard

Get the color of the arc.

Link copied to clipboard

Get the opacity of the arcs.

Link copied to clipboard

Get whether the end points of the arcs are rounded or not.

Link copied to clipboard

Get the width (thickness) of the arcs in pixels.

Link copied to clipboard

Get the background color of the object.

Link copied to clipboard

Get the gradient color of the background. Used only if grad_dir isn't LV_GRAD_DIR_NONE.

Link copied to clipboard

Get the direction of the gradient of the background.

Link copied to clipboard

Get the point from which the background's gradient color should start.

Link copied to clipboard

Get the opacity of the background image.

Link copied to clipboard

Get the intensity of background image recoloring.

Link copied to clipboard

Set a color to mix to the background image.

Link copied to clipboard

Whether the background image will be tiled.

Link copied to clipboard

Get the point from which the background color should start for gradients.

Link copied to clipboard

Get the opacity of the background.

Link copied to clipboard

Get the border color filter.

Link copied to clipboard

Get the color of the border.

Link copied to clipboard

Get the opacity of the border.

Link copied to clipboard

Get whether the border should be drawn before or after the children are drawn.

Link copied to clipboard

Get which side(s) the border should be drawn.

Link copied to clipboard

Get the width of the border.

Link copied to clipboard

Get the intensity of mixing of color filter.

Link copied to clipboard

Get the Flexbox cross place.

Link copied to clipboard

Get the Flexbox layout setup style on the object.

Link copied to clipboard

Get the Flexbox grow on the object.

Link copied to clipboard

Get the Flexbox main place.

Link copied to clipboard

Get the Flexbox track place.

Link copied to clipboard

Sets the height of the LVGL object.

Link copied to clipboard

Get the opacity of an image.

Link copied to clipboard

Get the intensity of the color mixing.

Link copied to clipboard

Get color to mix to the image.

Link copied to clipboard

Get the layout used as part of the object styling.

Link copied to clipboard

Get the color of the lines.

Link copied to clipboard

Get the gap between dashes in pixels.

Link copied to clipboard

Get the width of dashes in pixels.

Link copied to clipboard

Get the opacity of the lines.

Link copied to clipboard

Whether end points of the lines are rounded.

Link copied to clipboard

Get the width of the lines in pixels.

Link copied to clipboard

Get the maximum height.

Link copied to clipboard

Get the maximum width.

Link copied to clipboard

Get the minimum height.

Link copied to clipboard

Gets the minimum width.

Link copied to clipboard

Get the opacity of the object.

Link copied to clipboard

Get the color of the outline.

Link copied to clipboard

Get the opacity of the outline.

Link copied to clipboard

Get the padding of the outline, i.e. the gap between object and the outline.

Link copied to clipboard

Get the width of the outline in pixels.

Link copied to clipboard

Get the padding on the bottom.

Link copied to clipboard

Get the padding between the columns. Used by the layouts.

Link copied to clipboard

Get the padding on the left.

Link copied to clipboard

Get the padding on the right.

Link copied to clipboard

Get the padding between the rows. Used by the layouts.

Link copied to clipboard

Get the padding on the top.

Link copied to clipboard

Get the radius on every corner.

Link copied to clipboard

Get the color of the shadow.

Link copied to clipboard

Get the opacity of the shadow.

Link copied to clipboard

Get the shadow calculation to use a larger or smaller rectangle as base.

Link copied to clipboard

Get the width of the shadow in pixels.

Link copied to clipboard

Get an offset on the shadow in pixels in X direction.

Link copied to clipboard

Get an offset on the shadow in pixels in Y direction.

Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridCellColumnSpan(part: LvglPart = LvglPart.MAIN): Short
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridCellRowPosition(part: LvglPart = LvglPart.MAIN): Short
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridCellRowSpan(part: LvglPart = LvglPart.MAIN): Short
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridCellXAlignment(part: LvglPart = LvglPart.MAIN): Short
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridCellYAlignment(part: LvglPart = LvglPart.MAIN): Short
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.getStyleGridRowDescriptor(part: LvglPart = LvglPart.MAIN): Array<Short>
Link copied to clipboard

Get how to align the lines of the text.

actual fun LvglObjectBase.getTextAlignStyle(part: UInt): TextAlignment
actual fun LvglObjectBase.getTextAlignStyle(part: UInt): TextAlignment
Link copied to clipboard

Get the color of the text.

Link copied to clipboard

Get decoration for the text.

Link copied to clipboard
expect fun LvglObjectBase.getTextFont(part: UInt): Font

Get the text font.

actual fun LvglObjectBase.getTextFont(part: UInt): Font
actual fun LvglObjectBase.getTextFont(part: UInt): Font
Link copied to clipboard

Get the letter space.

Link copied to clipboard

Get the line space.

Link copied to clipboard

Get the opacity of the text.

Link copied to clipboard

Get the transform angle.

Link copied to clipboard

Get the transform height.

Link copied to clipboard

Get the transform width.

Link copied to clipboard

Get the zoom transformation.

Link copied to clipboard

Get the X translation.

Link copied to clipboard

Get the Y translation.

Link copied to clipboard

Get the width of the LVGL object.

Link copied to clipboard

Get the X coordinate of the LVGL object considering the set align.

Link copied to clipboard

Get the Y coordinate of the LVGL object considering the set align.

Link copied to clipboard
expect fun LvglObjectBase.setAlignStyle(value: UByte, selector: UInt)

Set the alignment which determines from which point of the parent the X and Y coordinates should be interpreted.

actual fun LvglObjectBase.setAlignStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setAlignStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setArcColorStyle(value: Color, selector: UInt)

Set the color of the arc.

actual fun LvglObjectBase.setArcColorStyle(value: Color, selector: UInt)
actual fun LvglObjectBase.setArcColorStyle(value: Color, selector: UInt)
Link copied to clipboard

Set an image from which the arc will be masked out. It's useful to display complex effects on the arcs.

Link copied to clipboard
expect fun LvglObjectBase.setArcOpacityStyle(value: UByte, selector: UInt)

Set the opacity of the arcs.

actual fun LvglObjectBase.setArcOpacityStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setArcOpacityStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setArcRoundedStyle(value: Boolean, selector: UInt)

Set if the points of the arcs rounded or not.

actual fun LvglObjectBase.setArcRoundedStyle(value: Boolean, selector: UInt)
actual fun LvglObjectBase.setArcRoundedStyle(value: Boolean, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setArcWidthStyle(value: Short, selector: UInt)

Set the width (thickness) of the arcs in pixels.

actual fun LvglObjectBase.setArcWidthStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setArcWidthStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setBackgroundColorStyle(value: Color, selector: UInt)

Set the background color of the object.

actual fun LvglObjectBase.setBackgroundColorStyle(value: Color, selector: UInt)
actual fun LvglObjectBase.setBackgroundColorStyle(value: Color, selector: UInt)
Link copied to clipboard

Set the gradient color of the background. Used only if grad_dir isn't LV_GRAD_DIR_NONE.

Link copied to clipboard

Set the direction of the gradient of the background. The possible values are LV_GRAD_DIR_NONE/HOR/VER.

Link copied to clipboard

Set the point from which the background's gradient color should start.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Set a color to mix to the background image.

Link copied to clipboard

Set a background image from a String.

Set a background image from a StringReference.

Link copied to clipboard

If enabled the background image will be tiled.

Link copied to clipboard
expect fun LvglObjectBase.setBackgroundMainStopStyle(value: Short, selector: UInt)

Set the point from which the background color should start for gradients.

actual fun LvglObjectBase.setBackgroundMainStopStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setBackgroundMainStopStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setBackgroundOpacityStyle(value: UByte, selector: UInt)

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.

actual fun LvglObjectBase.setBackgroundOpacityStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setBackgroundOpacityStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setBorderColorStyle(value: Color, selector: UInt)

Set the color of the border.

actual fun LvglObjectBase.setBorderColorStyle(value: Color, selector: UInt)
actual fun LvglObjectBase.setBorderColorStyle(value: Color, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setBorderOpacityStyle(value: UByte, selector: UInt)

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.

actual fun LvglObjectBase.setBorderOpacityStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setBorderOpacityStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setBorderPostStyle(value: Boolean, selector: UInt)

Sets whether the border should be drawn before or after the children are drawn.

actual fun LvglObjectBase.setBorderPostStyle(value: Boolean, selector: UInt)
actual fun LvglObjectBase.setBorderPostStyle(value: Boolean, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setBorderSideStyle(value: UByte, selector: UInt)

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.

actual fun LvglObjectBase.setBorderSideStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setBorderSideStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setBorderWidthStyle(value: Short, selector: UInt)

Set the width of the border.

actual fun LvglObjectBase.setBorderWidthStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setBorderWidthStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setColorFilterOpacityStyle(value: UByte, selector: UInt)

Set the intensity of mixing of color filter.

actual fun LvglObjectBase.setColorFilterOpacityStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setColorFilterOpacityStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setFlexAlign(mainPlace: FlexAlignment, crossPlace: FlexAlignment, trackCrossPlace: FlexAlignment)

Manages placement of children in a Flexbox layout. The possible values are the following:

actual fun LvglObjectBase.setFlexAlign(mainPlace: FlexAlignment, crossPlace: FlexAlignment, trackCrossPlace: FlexAlignment)
actual fun LvglObjectBase.setFlexAlign(mainPlace: FlexAlignment, crossPlace: FlexAlignment, trackCrossPlace: FlexAlignment)
Link copied to clipboard

Set the Flexbox cross place.

Link copied to clipboard

Sets up the Flexbox layout on the object. All possible values for this function include the following:

Link copied to clipboard
expect fun LvglObjectBase.setFlexFlowStyle(value: UInt, selector: UInt)

Sets up the Flexbox layout style on the object. All possible values for this function include the following:

actual fun LvglObjectBase.setFlexFlowStyle(value: UInt, selector: UInt)
actual fun LvglObjectBase.setFlexFlowStyle(value: UInt, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setFlexGrow(grow: UByte)

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:

actual fun LvglObjectBase.setFlexGrow(grow: UByte)
actual fun LvglObjectBase.setFlexGrow(grow: UByte)
Link copied to clipboard
expect fun LvglObjectBase.setFlexGrowStyle(value: UByte, selector: UInt)

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:

actual fun LvglObjectBase.setFlexGrowStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setFlexGrowStyle(value: UByte, selector: UInt)
Link copied to clipboard

Set the Flexbox main place.

Link copied to clipboard

Set the Flexbox track place.

Link copied to clipboard
expect fun LvglObjectBase.setGridAlignment(columnAlign: GridAlignment, rowAlign: GridAlignment)

Changes the grid alignment.

actual fun LvglObjectBase.setGridAlignment(columnAlign: GridAlignment, rowAlign: GridAlignment)
actual fun LvglObjectBase.setGridAlignment(columnAlign: GridAlignment, rowAlign: GridAlignment)
Link copied to clipboard
expect fun LvglObjectBase.setGridCell(columnAlign: GridAlignment, colPos: UByte, colSpan: UByte, rowAlign: GridAlignment, rowPos: UByte, rowSpan: UByte)

Set the cell of an object. The object's parent needs to have grid layout, else nothing will happen.

actual fun LvglObjectBase.setGridCell(columnAlign: GridAlignment, colPos: UByte, colSpan: UByte, rowAlign: GridAlignment, rowPos: UByte, rowSpan: UByte)
actual fun LvglObjectBase.setGridCell(columnAlign: GridAlignment, colPos: UByte, colSpan: UByte, rowAlign: GridAlignment, rowPos: UByte, rowSpan: UByte)
Link copied to clipboard
expect fun LvglObjectBase.setHeightStyle(value: Short, selector: UInt)

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.

actual fun LvglObjectBase.setHeightStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setHeightStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setImageOpacityStyle(value: UByte, selector: UInt)

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.

actual fun LvglObjectBase.setImageOpacityStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setImageOpacityStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setImageRecolorOpaStyle(value: UByte, selector: UInt)

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.

actual fun LvglObjectBase.setImageRecolorOpaStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setImageRecolorOpaStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setImageRecolorStyle(value: Color, selector: UInt)

Set color to mix to the image.

actual fun LvglObjectBase.setImageRecolorStyle(value: Color, selector: UInt)
actual fun LvglObjectBase.setImageRecolorStyle(value: Color, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setLayoutStyle(value: UShort, selector: UInt)

Set the layout used as part of the object styling.

actual fun LvglObjectBase.setLayoutStyle(value: UShort, selector: UInt)
actual fun LvglObjectBase.setLayoutStyle(value: UShort, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setLineColorStyle(value: Color, selector: UInt)

Set the color of the lines.

actual fun LvglObjectBase.setLineColorStyle(value: Color, selector: UInt)
actual fun LvglObjectBase.setLineColorStyle(value: Color, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setLineDashGapStyle(value: Short, selector: UInt)

Set the gap between dashes in pixels. Note that dash works only on horizontal and vertical lines.

actual fun LvglObjectBase.setLineDashGapStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setLineDashGapStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setLineDashWidthStyle(value: Short, selector: UInt)

Set the width of dashes in pixels. Note that dash works only on horizontal and vertical lines.

actual fun LvglObjectBase.setLineDashWidthStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setLineDashWidthStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setLineOpacityStyle(value: UByte, selector: UInt)

Set the opacity of the lines.

actual fun LvglObjectBase.setLineOpacityStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setLineOpacityStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setLineRoundedStyle(value: Boolean, selector: UInt)

Make the end points of the lines rounded.

actual fun LvglObjectBase.setLineRoundedStyle(value: Boolean, selector: UInt)
actual fun LvglObjectBase.setLineRoundedStyle(value: Boolean, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setLineWidthStyle(value: Short, selector: UInt)

Set the width of the lines in pixels.

actual fun LvglObjectBase.setLineWidthStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setLineWidthStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setMaxHeightStyle(value: Short, selector: UInt)

Sets the maximum height. Pixel and percentage values can be used. Percentage values are relative to the height of the parent's content area.

actual fun LvglObjectBase.setMaxHeightStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setMaxHeightStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setMaxWidthStyle(value: Short, selector: UInt)

Sets the maximum width. Pixel and percentage values can be used. Percentage values are relative to the width of the parent's content area.

actual fun LvglObjectBase.setMaxWidthStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setMaxWidthStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setMinHeightStyle(value: Short, selector: UInt)

Sets the minimum height. Pixel and percentage values can be used. Percentage values are relative to the width of the parent's content area.

actual fun LvglObjectBase.setMinHeightStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setMinHeightStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setMinWidthStyle(value: Short, selector: UInt)

Sets the minimum width. Pixel and percentage values can be used. Percentage values are relative to the width of the parent's content area.

actual fun LvglObjectBase.setMinWidthStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setMinWidthStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setOpacityStyle(value: UByte, selector: UInt)

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.

actual fun LvglObjectBase.setOpacityStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setOpacityStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setOutlineColorStyle(value: Color, selector: UInt)

Set the color of the outline.

actual fun LvglObjectBase.setOutlineColorStyle(value: Color, selector: UInt)
actual fun LvglObjectBase.setOutlineColorStyle(value: Color, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setOutlineOpacityStyle(value: UByte, selector: UInt)

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.

actual fun LvglObjectBase.setOutlineOpacityStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setOutlineOpacityStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setOutlinePadStyle(value: Short, selector: UInt)

Set the padding of the outline, i.e. the gap between object and the outline.

actual fun LvglObjectBase.setOutlinePadStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setOutlinePadStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setOutlineWidthStyle(value: Short, selector: UInt)

Set the width of the outline in pixels.

actual fun LvglObjectBase.setOutlineWidthStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setOutlineWidthStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setPadAllStyle(value: Short, selector: UInt)

Sets the padding on all sides.

actual fun LvglObjectBase.setPadAllStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setPadAllStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setPadBottomStyle(value: Short, selector: UInt)

Sets the padding on the bottom. It makes the content area smaller in this direction.

actual fun LvglObjectBase.setPadBottomStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setPadBottomStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setPadColumnStyle(value: Short, selector: UInt)

Sets the padding between the columns. Used by the layouts.

actual fun LvglObjectBase.setPadColumnStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setPadColumnStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setPadLeftStyle(value: Short, selector: UInt)

Sets the padding on the left. It makes the content area smaller in this direction.

actual fun LvglObjectBase.setPadLeftStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setPadLeftStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setPadRightStyle(value: Short, selector: UInt)

Sets the padding on the right. It makes the content area smaller in this direction.

actual fun LvglObjectBase.setPadRightStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setPadRightStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setPadRowStyle(value: Short, selector: UInt)

Sets the padding between the rows. Used by the layouts.

actual fun LvglObjectBase.setPadRowStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setPadRowStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setPadTopStyle(value: Short, selector: UInt)

Sets the padding on the top. It makes the content area smaller in this direction.

actual fun LvglObjectBase.setPadTopStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setPadTopStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setRadiusStyle(value: Short, selector: UInt)

Set the radius on every corner.

actual fun LvglObjectBase.setRadiusStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setRadiusStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setShadowColorStyle(value: Color, selector: UInt)

Set the color of the shadow.

actual fun LvglObjectBase.setShadowColorStyle(value: Color, selector: UInt)
actual fun LvglObjectBase.setShadowColorStyle(value: Color, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setShadowOpacityStyle(value: UByte, selector: UInt)

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.

actual fun LvglObjectBase.setShadowOpacityStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setShadowOpacityStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setShadowSpreadStyle(value: Short, selector: UInt)

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.

actual fun LvglObjectBase.setShadowSpreadStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setShadowSpreadStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setShadowWidthStyle(value: Short, selector: UInt)

Set the width of the shadow in pixels. The value should be >= 0.

actual fun LvglObjectBase.setShadowWidthStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setShadowWidthStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setShadowXOffsetStyle(value: Short, selector: UInt)

Set an offset on the shadow in pixels in X direction.

actual fun LvglObjectBase.setShadowXOffsetStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setShadowXOffsetStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setShadowYOffsetStyle(value: Short, selector: UInt)

Set an offset on the shadow in pixels in Y direction.

actual fun LvglObjectBase.setShadowYOffsetStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setShadowYOffsetStyle(value: Short, selector: UInt)
Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridCellColumnSpan(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellColumnSpan(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellColumnSpan(selector: UInt, value: Short)
Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridCellRowSpan(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellRowSpan(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellRowSpan(selector: UInt, value: Short)
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridCellXAlignment(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellXAlignment(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellXAlignment(selector: UInt, value: Short)
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridCellYAlignment(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellYAlignment(selector: UInt, value: Short)
actual fun LvglObjectBase.setStyleGridCellYAlignment(selector: UInt, value: Short)
Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridColumnDescriptor(selector: UInt, vararg values: Short)
actual fun LvglObjectBase.setStyleGridColumnDescriptor(selector: UInt, vararg values: Short)
actual fun LvglObjectBase.setStyleGridColumnDescriptor(selector: UInt, vararg values: Short)
Link copied to clipboard
Link copied to clipboard
expect fun LvglObjectBase.setStyleGridRowDescriptor(selector: UInt, vararg values: Short)
actual fun LvglObjectBase.setStyleGridRowDescriptor(selector: UInt, vararg values: Short)
actual fun LvglObjectBase.setStyleGridRowDescriptor(selector: UInt, vararg values: Short)
Link copied to clipboard
expect fun LvglObjectBase.setTextAlignStyle(value: TextAlignment, selector: UInt)

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.

actual fun LvglObjectBase.setTextAlignStyle(value: TextAlignment, selector: UInt)
actual fun LvglObjectBase.setTextAlignStyle(value: TextAlignment, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTextColorStyle(value: Color, selector: UInt)

Set the color of the text.

actual fun LvglObjectBase.setTextColorStyle(value: Color, selector: UInt)
actual fun LvglObjectBase.setTextColorStyle(value: Color, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTextDecorStyle(value: UByte, selector: UInt)

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.

actual fun LvglObjectBase.setTextDecorStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setTextDecorStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTextFont(value: Font, selector: UInt)

Set the text font.

actual fun LvglObjectBase.setTextFont(value: Font, selector: UInt)
actual fun LvglObjectBase.setTextFont(value: Font, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTextLetterSpaceStyle(value: Short, selector: UInt)

Set the letter space.

actual fun LvglObjectBase.setTextLetterSpaceStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setTextLetterSpaceStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTextLineSpaceStyle(value: Short, selector: UInt)

Set the line space.

actual fun LvglObjectBase.setTextLineSpaceStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setTextLineSpaceStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTextOpacityStyle(value: UByte, selector: UInt)

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.

actual fun LvglObjectBase.setTextOpacityStyle(value: UByte, selector: UInt)
actual fun LvglObjectBase.setTextOpacityStyle(value: UByte, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTransformAngleStyle(value: Short, selector: UInt)

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

actual fun LvglObjectBase.setTransformAngleStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setTransformAngleStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTransformHeightStyle(value: Short, selector: UInt)

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.

actual fun LvglObjectBase.setTransformHeightStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setTransformHeightStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTransformWidthStyle(value: Short, selector: UInt)

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.

actual fun LvglObjectBase.setTransformWidthStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setTransformWidthStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTransformZoomStyle(value: Short, selector: UInt)

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.

actual fun LvglObjectBase.setTransformZoomStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setTransformZoomStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTranslateXStyle(value: Short, selector: UInt)

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.

actual fun LvglObjectBase.setTranslateXStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setTranslateXStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setTranslateYStyle(value: Short, selector: UInt)

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.

actual fun LvglObjectBase.setTranslateYStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setTranslateYStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setWidthStyle(value: Short, selector: UInt)

Sets the width of the LVGL object. Pixel, percentage and LV_SIZE_CONTENT values can be used.

actual fun LvglObjectBase.setWidthStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setWidthStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setXPosStyle(value: Short, selector: UInt)

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.

actual fun LvglObjectBase.setXPosStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setXPosStyle(value: Short, selector: UInt)
Link copied to clipboard
expect fun LvglObjectBase.setYPosStyle(value: Short, selector: UInt)

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.

actual fun LvglObjectBase.setYPosStyle(value: Short, selector: UInt)
actual fun LvglObjectBase.setYPosStyle(value: Short, selector: UInt)