Skip to content

luxe API (2025.1.2)


luxe: ui/text module


UIText

import "luxe: ui/text" for UIText

no docs found


UIText.create(ui_entity: Any) returns UIText

no docs found

UIText.set_text(control: Any, text: Any) returns unknown

no docs found

UIText.get_text(control: Any) returns unknown

no docs found

UIText.set_font(control: Any, font: Any) returns unknown

no docs found

UIText.get_font(control: Any) returns unknown

no docs found

UIText.set_colors(control: Any, bg: Color, border: Color, border_hover: Color, border_focused: Color) returns unknown

no docs found

UIText.set_radius(control: Control, radius: Float4, smoothness: Float4) returns None

no docs found

UIText.set_color(control: Any, color: Any) returns unknown

no docs found

UIText.get_color(control: Any) returns unknown

no docs found

UIText.set_text_size(control: Any, size: Any) returns unknown

no docs found

UIText.get_text_size(control: Any) returns unknown

no docs found

UIText.set_align(control: Any, align: Any) returns unknown

no docs found

UIText.get_align(control: Any) returns unknown

no docs found

UIText.set_align_vertical(control: Any, align: Any) returns unknown

no docs found

UIText.get_align_vertical(control: Any) returns unknown

no docs found

UIText.select_all(control: Any) returns unknown

no docs found

UIText.invalidate(control: Control, change_before: String) returns unknown

no docs found

UIText.set_outline(control: UIText, radius: Num, softness: Num, color: Color, offset: Float2) returns None

Set the text outline parameters.

UIText.set_shadow(control: UIText, radius: Num, softness: Num, color: Color, offset: Float2) returns None

Set the text shadow parameters.