class UIng::FontDescriptor

Defined in:

uing/font_descriptor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cstruct : LibUI::FontDescriptor = LibUI::FontDescriptor.new) #

[View source]
def self.new(family : String | Nil = nil, size : Int32 | Nil = nil, weight : TextWeight | Nil = nil, italic : TextItalic | Nil = nil, stretch : TextStretch | Nil = nil) #

[View source]

Instance Method Detail

def family #

Auto convert to and from String


[View source]
def family=(value : String) #

[View source]
def finalize #

[View source]
def free : Nil #

[View source]
def italic #

[View source]
def italic=(value) #

[View source]
def load_control_font : Nil #

[View source]
def size #

[View source]
def size=(value) #

[View source]
def stretch #

[View source]
def stretch=(value) #

[View source]
def to_unsafe #

[View source]
def weight #

[View source]
def weight=(value) #

[View source]