struct
UI::Font
- UI::Font
- Struct
- Value
- Object
Overview
Value type representing a font specification
Defined in:
ui/view.crConstructors
Instance Method Summary
- #clone
- #copy_with(family _family = @family, size _size = @size, weight _weight = @weight, italic _italic = @italic)
- #family : String
- #italic : Bool
- #size : Float64
- #weight : Symbol
Constructor Detail
def self.new(family : String = "system", size : Float64 = 17.0, weight : Symbol = :regular, italic : Bool = false)
#
Instance Method Detail
def copy_with(family _family = @family, size _size = @size, weight _weight = @weight, italic _italic = @italic)
#