enum Pango::Weight
Overview
An enumeration specifying the weight (boldness) of a font.
Weight is specified as a numeric value ranging from 100 to 1000. This enumeration simply provides some common, predefined values.
Defined in:
lib/gi-crystal/src/auto/pango-1.0/pango.crEnum Members
-
Thin =
100_u32
-
the thin weight (= 100) Since: 1.24
-
Ultralight =
200_u32
-
the ultralight weight (= 200)
-
Light =
300_u32
-
the light weight (= 300)
-
Semilight =
350_u32
-
the semilight weight (= 350) Since: 1.36.7
-
Book =
380_u32
-
the book weight (= 380) Since: 1.24)
-
Normal =
400_u32
-
the default weight (= 400)
-
Medium =
500_u32
-
the normal weight (= 500) Since: 1.24
-
Semibold =
600_u32
-
the semibold weight (= 600)
-
Bold =
700_u32
-
the bold weight (= 700)
-
Ultrabold =
800_u32
-
the ultrabold weight (= 800)
-
Heavy =
900_u32
-
the heavy weight (= 900)
-
Ultraheavy =
1000_u32
-
the ultraheavy weight (= 1000) Since: 1.24
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #bold?
- #book?
- #heavy?
- #light?
- #medium?
- #normal?
- #semibold?
- #semilight?
- #thin?
- #ultrabold?
- #ultraheavy?
- #ultralight?
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.