class TextView

Defined in:

main.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(font : Raylib::Font, text_size : Float32, text_spacing : Float32) #

[View source]

Instance Method Detail

def compute_height #

[View source]
def font : Raylib::Font #

[View source]
def force_layout #

[View source]
def line_height : Float32 #

[View source]
def render(x, y, color) #

[View source]
def set_text(text : String) #

[View source]
def text : String #

[View source]
def text_size : Float32 #

[View source]
def text_spacing : Float32 #

[View source]
def width : Float32 #

[View source]
def width=(width : Float32) #

[View source]