Game::Text
Inherits Reference < Object
Constructors
new(text : String = "", font : ::Game::Font = Font.default, x : Float32 | Float64 | Int32 = 0, y : Float32 | Float64 | Int32 = 0, size : Float32 | Int32 = 16, spacing : Float32 | Int32 = 1, color : ::Game::Color = Color::Red)
SourceInstance methods
color
Sourcecolor=(color : Color)
Sourcedraw(image : Image)
Sourcedraw
Sourcefont
Sourcefont=(font : Font)
Sourceheight
Sourcemeasure
Sourcesize
Sourcesize=(size : Int32)
Sourcesize=(size : Int32 | Float32)
Sourcespacing
Sourcespacing=(spacing : Int32 | Float32)
Sourcetext
Sourcetext=(text : String)
Sourcewidth
Sourcex=(x : Int32 | Float32 | Float64)
Sourcey=(y : Int32 | Float32 | Float64)
Source