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?
Returns
true
if this enum value equalsBold
-
#book?
Returns
true
if this enum value equalsBook
-
#heavy?
Returns
true
if this enum value equalsHeavy
-
#light?
Returns
true
if this enum value equalsLight
-
#medium?
Returns
true
if this enum value equalsMedium
-
#normal?
Returns
true
if this enum value equalsNormal
-
#semibold?
Returns
true
if this enum value equalsSemibold
-
#semilight?
Returns
true
if this enum value equalsSemilight
-
#thin?
Returns
true
if this enum value equalsThin
-
#ultrabold?
Returns
true
if this enum value equalsUltrabold
-
#ultraheavy?
Returns
true
if this enum value equalsUltraheavy
-
#ultralight?
Returns
true
if this enum value equalsUltralight
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.