class GUI::Font

Defined in:

wrappers/font.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(size : Int32, style : FontStyle = FontStyle::Normal, size_mode : FontSizeMode = FontSizeMode::Pixels) #

[View source]
def self.new(raw : LibGUI::Font) #

[View source]
def self.new(*, pixels : Int32, style : FontStyle = FontStyle::Normal) #

[View source]
def self.new(*, cell : Int32, style : FontStyle = FontStyle::Normal) #

[View source]
def self.new(*, points : Int32, style : FontStyle = FontStyle::Normal) #

[View source]

Instance Method Detail

def finalize #

[View source]
def free #

[View source]
def to_unsafe : LibGUI::Font #

[View source]