class
UIng::FontDescriptor
- UIng::FontDescriptor
- Reference
- Object
Overview
A Crystal-managed font description. FontButton results and callback values can be retained without manual freeing.
Defined in:
uing/font_descriptor.crConstructors
Instance Method Summary
- #family : String
- #family=(value : String)
- #italic
- #italic=(value : TextItalic)
- #size
- #size=(value : Number)
-
#snapshot : FontDescriptor
Returns an independent copy of this descriptor.
- #stretch
- #stretch=(value : TextStretch)
- #to_unsafe
- #weight
- #weight=(value : TextWeight)
Constructor Detail
def self.new(family : String | Nil = nil, size : Number | Nil = nil, weight : TextWeight | Nil = nil, italic : TextItalic | Nil = nil, stretch : TextStretch | Nil = nil)
#