GSDL::HUDText
Inherits GSDL::HUDElement < Reference < Object
Constructors
new(font : Symbol = FontManager.default, font_size : Num = FontManager.default_size, text : String = "", text_data_template = nil, anchor : GSDL::Anchor = Anchor::TopLeft, offset_x : Float32 | Int32 = 0, offset_y : Float32 | Int32 = 0, origin = {0_f32, 0_f32}, scale : Num | Tuple(Num, Num) = {1_f32, 1_f32}, color = ColorScheme.get(:ui_text), h_align = HorizontalAlign::Left, z_index = 1000, width = nil)
SourceInstance methods
color
Sourcecolor=(color : Color)
Sourcedraw_relative_to_camera?
Sourcehud_draw(draw : Draw)
Sourceorigin
Sourcescale
Sourcetext
Sourcetext_data_template
Sourcetext_element
Sourcez_index
Source