Class: Wx::FontFamily
- Inherits:
-
Enum
- Object
- Enum
- Wx::FontFamily
- Defined in:
- lib/wx/doc/gen/font.rb
Overview
Standard font families: these are used mainly during Font creation to specify the generic properties of the font without hardcoding in the sources a specific face name.
FontFamily thus allows grouping the font face names of fonts with similar properties. Most wxWidgets ports use lists of fonts for each font family inspired by the data taken from http://www.codestyle.org/css/font-family.
Constant Summary collapse
- FONTFAMILY_DEFAULT =
Chooses a default font.
Wx::FontFamily.new(70)
- FONTFAMILY_DECORATIVE =
A decorative font.
Wx::FontFamily.new(71)
- FONTFAMILY_ROMAN =
A formal, serif font.
Wx::FontFamily.new(72)
- FONTFAMILY_SCRIPT =
A handwriting font.
Wx::FontFamily.new(73)
- FONTFAMILY_SWISS =
A sans-serif font.
Wx::FontFamily.new(74)
- FONTFAMILY_MODERN =
A fixed pitch font.
Wx::FontFamily.new(75)
- FONTFAMILY_TELETYPE =
A teletype (i.e. monospaced) font.
Wx::FontFamily.new(76)
- FONTFAMILY_MAX =
Wx::FontFamily.new(77)
- FONTFAMILY_UNKNOWN =
Invalid font family value, returned by Wx::Font#get_family when the font is invalid for example.
Wx::FontFamily.new(77)