Skip to content

luxe: system/text.modifier


import "luxe: system/text.modifier" for Data

no docs found

var text : String = "hello"
var size : Num = 16
var align : TextAlignH = TextAlignH.center
var vertical : TextAlignV = TextAlignV.center
var color : Color = [1, 1, 1, 1]
var bounds : Float4 = [0, 0, 0, 0]
var font : Asset = "luxe: font/lato"
var material : Asset = "luxe: material/font"
import "luxe: system/text.modifier" for System

no docs found

System.new(world : World) : System

no docs found

import "luxe: system/text.modifier" for Text

no docs found

Text.create(entity : Any, material : Any, default_size : Any, default_font : Any, default_color : Any) : unknown

no docs found

Text.destroy(entity : Any) : unknown

no docs found

Text.set_size(entity : Any, default_size : Any) : unknown

no docs found

Text.get_size(entity : Any) : unknown

no docs found

Text.set_font(entity : Any, default_font : Any) : unknown

no docs found

Text.get_font(entity : Any) : unknown

no docs found

Text.set_style(entity : Entity, style : TextStyle) : None

no docs found

Text.get_style(entity : Entity) : TextStyle

no docs found

Text.set_outline(entity : Entity, radius : Num, softness : Num, color : Color, offset : Float2) : unknown

no docs found

Text.set_shadow(entity : Entity, radius : Num, softness : Num, color : Color, offset : Float2) : unknown

no docs found

Text.set_max_visible(entity : Entity, max_visible : Num) : None

no docs found

Text.get_max_visible(entity : Entity) : Num

no docs found

Text.set_color(entity : Any, default_color : Any) : unknown

no docs found

Text.get_color(entity : Any) : unknown

no docs found

Text.set_align(entity : Any, align : Any, align_vertical : Any) : unknown

no docs found

Text.set_align(entity : Any, align : Any) : unknown

no docs found

Text.get_align(entity : Any) : unknown

no docs found

Text.set_align_vertical(entity : Any, align_vertical : Any) : unknown

no docs found

Text.get_align_vertical(entity : Any) : unknown

no docs found

Text.set_bounds(entity : Any, x : Any, y : Any, w : Any, h : Any) : unknown

no docs found

Text.get_bounds(entity : Any) : unknown

no docs found

Text.set_attr(entity : Entity, start : Num, length : Num, type : TextAttrType, key : String, value : Any) : None

no docs found

Text.attr_clear(entity : Any) : unknown

no docs found

Text.commit(entity : Any) : unknown

no docs found

Text.get_render_text(entity : Any) : unknown

no docs found

Text.get_geometry(entity : Any) : unknown

no docs found

Text.get_extents(entity : Any, offset : Any, count : Any) : unknown

no docs found

Text.get_extents(entity : Any) : unknown

no docs found

Text.contains(entity : Any, x : Any, y : Any) : unknown

no docs found

Text.has(entity : Any) : unknown

no docs found

Text.set_loc(entity : Entity, space : String, key : String) : unknown

no docs found

Text.set_loc(entity : Entity, key : String) : unknown

no docs found

Text.set_loc_with_args(entity : Entity, space : String, key : String, args : List) : unknown

no docs found

Text.set_loc_with_args(entity : Entity, key : String, args : List) : unknown

no docs found

Text.get_text(entity : Any) : unknown

no docs found

Text.set_text_buffer(entity : Any, string : Any) : unknown

no docs found

Text.set_text(entity : Any, string : Any) : unknown

no docs found

import "luxe: system/text.modifier" for TextAlignH

no docs found

TextAlignH.left : unknown

no docs found

TextAlignH.center : unknown

no docs found

TextAlignH.right : unknown

no docs found

import "luxe: system/text.modifier" for TextAlignV

no docs found

TextAlignV.top : unknown

no docs found

TextAlignV.center : unknown

no docs found

TextAlignV.bottom : unknown

no docs found