Class: Wx::FontWeight

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

Overview

Font weights.

The values of this enum correspond to the CSS font weight specifications, see www.w3.org/TR/css-fonts-4/#font-weight-prop, with the addition of one font weight bolder than heavy

Constant Summary collapse

FONTWEIGHT_INVALID =

Invalid font weight.

Wx::FontWeight.new(0)
FONTWEIGHT_THIN =

Thin font (weight = 100).

Wx::FontWeight.new(100)
FONTWEIGHT_EXTRALIGHT =

Extra Light (Ultra Light) font (weight = 200).

Wx::FontWeight.new(200)
FONTWEIGHT_LIGHT =

Light font (weight = 300).

Wx::FontWeight.new(300)
FONTWEIGHT_NORMAL =

Normal font (weight = 400).

Wx::FontWeight.new(400)
FONTWEIGHT_MEDIUM =

Medium font (weight = 500).

Wx::FontWeight.new(500)
FONTWEIGHT_SEMIBOLD =

Semi Bold (Demi Bold) font (weight = 600).

Wx::FontWeight.new(600)
FONTWEIGHT_BOLD =

Bold font (weight = 700).

Wx::FontWeight.new(700)
FONTWEIGHT_EXTRABOLD =

Extra Bold (Ultra Bold) font (weight = 800).

Wx::FontWeight.new(800)
FONTWEIGHT_HEAVY =

Heavy (Black) font (weight = 900).

Wx::FontWeight.new(900)
FONTWEIGHT_EXTRAHEAVY =

Extra Heavy font (weight = 1000).

Wx::FontWeight.new(1000)
FONTWEIGHT_MAX =
Wx::FontWeight.new(1000)

Method Summary

Methods inherited from Enum

#!, #&, #<=>, [], #allbits?, #anybits?, #coerce, enumerators, #eql?, #initialize, #inspect, #integer?, #method_missing, #nobits?, non_distinct, #real?, set_non_distinct, #succ, #to_int, #to_s, #|, #~

Constructor Details

This class inherits a constructor from Wx::Enum

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wx::Enum