class NEStley::Textbox

Defined in:

entity/textbox.cr

Constructors

Instance Method Summary

Instance methods inherited from class NEStley::Rect

background_color : Int32 background_color, background_color=(background_color : Int32) background_color=, color_at(x, y) : UInt32 color_at, drawn! drawn!, height : UInt32 height, height=(height : UInt32) height=, needs_redraw : Bool needs_redraw, needs_redraw=(needs_redraw : Bool) needs_redraw=, needs_redraw? : Bool needs_redraw?, set_background(color : Int32) set_background, wants_coord?(x, y) : Bool wants_coord?, width : UInt32 width, width=(width : UInt32) width=, x : Int32 x, x=(x : Int32) x=, y : Int32 y, y=(y : Int32) y=

Constructor methods inherited from class NEStley::Rect

new(width : UInt32, height : UInt32, x : Int32 = 0, y : Int32 = 0, background_color : Int32 = 11184640) new

Instance methods inherited from class NEStley::Entity

color_at(x, y) : UInt32 color_at, drawn! drawn!, needs_redraw? : Bool needs_redraw?, wants_coord?(x, y) : Bool wants_coord?

Constructor Detail

def self.new(width, height, x = 0, y = 0, background_color = 11184640) #

[View source]

Instance Method Detail

def font : Fontanyl::Font #

[View source]
def font=(font : Fontanyl::Font) #

[View source]
def msg : String #

[View source]
def msg=(msg : String) #

[View source]
def rendered_msg : Array(Array(Bool)) #

[View source]
def rendered_msg=(rendered_msg : Array(Array(Bool))) #

[View source]
def set_font(font : Fontanyl::Font = Fontanyl::Font.new) : Textbox #

[View source]
def set_msg(msg : String = @msg) : Textbox #

[View source]
def set_wrap(wrap : UInt32 = @wrap) : Textbox #

[View source]
def wants_coord?(x, y) : Bool #

[View source]
def wrap : UInt32 #

[View source]
def wrap=(wrap : UInt32) #

[View source]