class

UIng::FontDescriptor

Inherits Reference < Object

Constructors

new(cstruct : LibUI::FontDescriptor = LibUI::FontDescriptor.new)
Source
new(family : String | Nil = nil, size : Int32 | Nil = nil, weight : TextWeight | Nil = nil, italic : TextItalic | Nil = nil, stretch : TextStretch | Nil = nil)
Source

Instance methods

family

Auto convert to and from String

Source
family=(value : String)
Source
finalize
Source
font_button_font_loaded
Source
free
Source
free_font_button_font
Source
italic
Source
italic=(value)
Source
load_control_font
Source
prepare_for_font_button_font
Source
size
Source
size=(value)
Source
stretch
Source
stretch=(value)
Source
to_unsafe
Source
weight
Source
weight=(value)
Source