Class: Wx::FontFlag

Inherits:
Enum
  • Object
show all
Defined in:
lib/wx/doc/gen/font.rb

Overview

The font flag bits for the new font ctor accepting one combined flags word.

Constant Summary collapse

FONTFLAG_DEFAULT =

no special flags: font with default weight/slant/anti-aliasing

Wx::FontFlag.new(0)
FONTFLAG_ITALIC =

slant flags (default: no slant)

Wx::FontFlag.new(1)
FONTFLAG_SLANT =
Wx::FontFlag.new(2)
FONTFLAG_LIGHT =

weight flags (default: medium)

Wx::FontFlag.new(4)
FONTFLAG_BOLD =
Wx::FontFlag.new(8)
FONTFLAG_ANTIALIASED =

anti-aliasing flag: force on or off (default: the current system default)

Wx::FontFlag.new(16)
FONTFLAG_NOT_ANTIALIASED =
Wx::FontFlag.new(32)
FONTFLAG_UNDERLINED =

Underlined style (not underlined by default).

Wx::FontFlag.new(64)
FONTFLAG_STRIKETHROUGH =

Strike-through style (implemented in MSW, GTK, and WXOSX)

Wx::FontFlag.new(128)
FONTFLAG_MASK =

the mask of all currently used flags

Wx::FontFlag.new(255)