¶
luxe
API (2025.1.2
)¶
luxe: ui/text
module¶
UIText¶
import "luxe: ui/text" for UIText
no docs found
- create(ui_entity:
Any
) - set_text(control:
Any
, text:Any
) - get_text(control:
Any
) - set_font(control:
Any
, font:Any
) - get_font(control:
Any
) - set_colors(control:
Any
, bg:Color
, border:Color
, border_hover:Color
, border_focused:Color
) - set_radius(control:
Control
, radius:Float4
, smoothness:Float4
) - set_color(control:
Any
, color:Any
) - get_color(control:
Any
) - set_text_size(control:
Any
, size:Any
) - get_text_size(control:
Any
) - set_align(control:
Any
, align:Any
) - get_align(control:
Any
) - set_align_vertical(control:
Any
, align:Any
) - get_align_vertical(control:
Any
) - select_all(control:
Any
) - invalidate(control:
Control
, change_before:String
) - set_outline(control:
UIText
, radius:Num
, softness:Num
, color:Color
, offset:Float2
) - set_shadow(control:
UIText
, radius:Num
, softness:Num
, color:Color
, offset:Float2
)
Any
)
¶UIText
no docs found
Any
, text: Any
)
¶unknown
no docs found
Any
)
¶unknown
no docs found
Any
, font: Any
)
¶unknown
no docs found
Any
)
¶unknown
no docs found
Any
, bg: Color
, border: Color
, border_hover: Color
, border_focused: Color
)
¶unknown
no docs found
Control
, radius: Float4
, smoothness: Float4
)
¶None
no docs found
Any
, color: Any
)
¶unknown
no docs found
Any
)
¶unknown
no docs found
Any
, size: Any
)
¶unknown
no docs found
Any
)
¶unknown
no docs found
Any
, align: Any
)
¶unknown
no docs found
Any
)
¶unknown
no docs found
Any
, align: Any
)
¶unknown
no docs found
Any
)
¶unknown
no docs found
Any
)
¶unknown
no docs found
Control
, change_before: String
)
¶unknown
no docs found
UIText
, radius: Num
, softness: Num
, color: Color
, offset: Float2
)
¶None
Set the text outline parameters.
UIText
, radius: Num
, softness: Num
, color: Color
, offset: Float2
)
¶None
Set the text shadow parameters.