GSDL::Message
Inherits GSDL::TextBox < GSDL::Tweenable < GSDL::Centerable < Reference < Object
Constructors
new(font : Symbol | FontOld = FontManager.default, font_size : Num = FontManager.default_size, text : String | GSDL::Text | GSDL::TextOld = "", origin = {0_f32, 0_f32}, scale = {1_f32, 1_f32}, width : Int32 | Nil = nil, height : Int32 | Nil = nil, padding = nil, padding_x = nil, padding_y = nil, align = FontOld::Align::Center, x : Num = 0_f32, y : Num = 0_f32, color = ColorScheme.get(:ui_text), bg_color : Color = ColorScheme.get(:ui_bg), border_radius : Num = 0, z_index : Int32 = 900, draw_relative_to_camera : Bool = false)
SourceInstance methods
bg_color
Sourceborder_radius
Sourcedraw_background(draw : Draw)
Source