LvglObjectDrawPartDescriptor

Represents a draw part for a LVGL object.

Types

Companion
Link copied to clipboard
object Companion
object Companion

Properties

Link copied to clipboard

A draw descriptor that can be modified to changed what LVGL will draw. Set only for arc-like parts.

Link copied to clipboard
expect val drawArea: Area

The area of the part being drawn.

actual val drawArea: Area
actual val drawArea: Area
Link copied to clipboard
expect val id: UInt

The index of the part. For example, a button's index on button matrix or table cell index.

actual val id: UInt
actual val id: UInt
Link copied to clipboard

A draw descriptor that can be modified to changed what LVGL will draw. Set only for image-like parts.

Link copied to clipboard

A draw descriptor that can be modified to changed what LVGL will draw. Set only for text-like parts.

Link copied to clipboard

A draw descriptor that can be modified to changed what LVGL will draw. Set only for line-like parts.

lvObjDrawPartDscPtr
Link copied to clipboard
val lvObjDrawPartDscPtr: CPointer<lv_obj_draw_part_dsc_t>?
val lvObjDrawPartDscPtr: CPointer<lv_obj_draw_part_dsc_t>?
Link copied to clipboard
expect val part: UInt

The current part for which the event is sent.

actual val part: UInt
actual val part: UInt
Link copied to clipboard
expect val point1: Point

A point calculated during drawing. For example, a point of chart or the center of an arc.

actual val point1: Point
actual val point1: Point
Link copied to clipboard
expect val point2: Point

A point calculated during drawing. For example, a point from a chart.

actual val point2: Point
actual val point2: Point
Link copied to clipboard
expect val radius: Short

The radius of an arc (not the corner radius).

actual val radius: Short
actual val radius: Short
Link copied to clipboard

A draw descriptor that can be modified to changed what LVGL will draw. Set only for rectangle-like parts.

Link copied to clipboard
expect val text: String

A text calculated during drawing. Can be modified. For example, tick labels on a chart axis.

actual val text: String
actual val text: String
Link copied to clipboard
expect val value: Int

A value calculated during drawing. E.g. Chart's tick line value.

actual val value: Int
actual val value: Int