GSDL::TextOld
Inherits GSDL::Centerable < GSDL::Entity < GSDL::Saveable < GSDL::Tweenable < Reference < Object
Constants
OversampleRatio = 8_f32
Constructors
new(font : GSDL::FontOld = FontOld.default, text : String = "", x : Num = 0, y : Num = 0, origin : Tuple(Float32, Float32) = {0_f32, 0_f32}, scale : Tuple(Num, Num) = {1_f32, 1_f32}, color : LibSDL3::Color = ColorScheme.get(:ui_text), align : LibSDL3TTF::Alignment = FontOld::Align::Left, wrap_width : Int32 | Nil = nil, z_index : Int32 = 0, rotation : Num = 0.0, oversample_ratio : Float32 = OversampleRatio, visible_characters : Int32 = -1, opacity : UInt8 = 255_u8, draw_relative_to_camera : Bool = true, wrap_whitespace_visible : Bool = false)
SourceInstance methods
align
Sourcealign=(align : FontOld::Align)
Sourcebake!
Sourcecolor
Sourcecolor=(color : Color)
Sourcedestroy
Sourcedraw(draw : Draw)
Sourcedraw_relative_to_camera?
Sourcefont
Sourcefont=(font : FontOld)
Sourceheight
Sourcelayout!
Sourceopacity
Sourceoversample_ratio
Sourcerender_height
Sourcerender_width
Sourcerender_x
Sourcerender_y
Sourcerotation
Sourcerotation=(rotation : Num)
Sourcetext
Sourcevisible_characters
Sourcewidth
Sourcewrap_whitespace_visible
Sourcewrap_width
Source