struct Engine::FontResource

Included Modules

Defined in:

engine/engine.cr

Constructors

Instance Method Summary

Instance methods inherited from module Engine::FontDrawText

draw_text(text, pos : Vector2) draw_text, draw_text_boxed(text, box : AABB, halign : HAlign = HAlign::Left, valign : VAlign = VAlign::Center) draw_text_boxed, measure(text) measure

Constructor Detail

def self.new(data : Int32) #

[View source]

Instance Method Detail

def to_unsafe #

[View source]