class Game::TextInput
- Game::TextInput
- Game::Text
- Reference
- Object
Defined in:
game/text_input.crConstructors
Instance Method Summary
- #backspace_delay : Float32
- #backspace_delay=(backspace_delay : Float32)
- #backspace_delay?
- #draw
- #focused=(focused : Bool)
- #focused? : Bool
- #update(frame_time)
Instance methods inherited from class Game::Text
color : Color
color,
color=(color : Color)
color=,
draw(image : Image)draw draw, font : Font font, font=(font : Font) font=, height : Int32 | Float32 height, measure measure, size : Int32 | Float32 size, size=(size : Int32)
size=(size : Int32 | Float32) size=, spacing : Int32 | Float32 spacing, spacing=(spacing : Int32 | Float32) spacing=, text : String text, text=(text : String) text=, width : Int32 | Float32 width, x : Int32 | Float32 | Float64 x, x=(x : Int32 | Float32 | Float64) x=, y : Int32 | Float32 | Float64 y, y=(y : Int32 | Float32 | Float64) y=
Constructor methods inherited from class Game::Text
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)
new
Constructor Detail
def self.new(text = "", font = Font.default, x = 0, y = 0, size = 16, spacing = 1, color = Color::Red, backspace_delay : Float32 = 0.035_f32)
#