class
UIng::FontDescriptor
- UIng::FontDescriptor
- Reference
- Object
Defined in:
uing/font_descriptor.crConstructors
- .new(cstruct : LibUI::FontDescriptor = LibUI::FontDescriptor.new)
- .new(family : String | Nil = nil, size : Int32 | Nil = nil, weight : TextWeight | Nil = nil, italic : TextItalic | Nil = nil, stretch : TextStretch | Nil = nil)
Instance Method Summary
-
#family
Auto convert to and from String
- #family=(value : String)
- #finalize
- #free : Nil
- #italic
- #italic=(value)
- #load_control_font : Nil
- #size
- #size=(value)
- #stretch
- #stretch=(value)
- #to_unsafe
- #weight
- #weight=(value)
Constructor Detail
def self.new(family : String | Nil = nil, size : Int32 | Nil = nil, weight : TextWeight | Nil = nil, italic : TextItalic | Nil = nil, stretch : TextStretch | Nil = nil)
#