Module: Pango::AttrType

Defined in:
(unknown)

Constant Summary collapse

INVALID =

does not happen

0 or :invalid
LANGUAGE =

language (Pango::AttrLanguage)

1 or :language
FAMILY =

font family name list (Pango::AttrString)

2 or :family
STYLE =

font slant style (Pango::AttrInt)

3 or :style
WEIGHT =

font weight (Pango::AttrInt)

4 or :weight
VARIANT =

font variant (normal or small caps) (Pango::AttrInt)

5 or :variant
STRETCH =

font stretch (Pango::AttrInt)

6 or :stretch
SIZE =

font size in points scaled by %PANGO_SCALE (Pango::AttrInt)

7 or :size
FONT_DESC =

font description (Pango::AttrFontDesc)

8 or :font_desc
FOREGROUND =

foreground color (Pango::AttrColor)

9 or :foreground
BACKGROUND =

background color (Pango::AttrColor)

10 or :background
UNDERLINE =

whether the text has an underline (Pango::AttrInt)

11 or :underline
STRIKETHROUGH =

whether the text is struck-through (Pango::AttrInt)

12 or :strikethrough
RISE =

baseline displacement (Pango::AttrInt)

13 or :rise
SHAPE =

shape (Pango::AttrShape)

14 or :shape
SCALE =

font size scale factor (Pango::AttrFloat)

15 or :scale
FALLBACK =

whether fallback is enabled (Pango::AttrInt)

16 or :fallback
LETTER_SPACING =

letter spacing (Pango::AttrInt)

17 or :letter_spacing
UNDERLINE_COLOR =

underline color (Pango::AttrColor)

18 or :underline_color
STRIKETHROUGH_COLOR =

strikethrough color (Pango::AttrColor)

19 or :strikethrough_color
ABSOLUTE_SIZE =

font size in pixels scaled by %PANGO_SCALE (Pango::AttrInt)

20 or :absolute_size
GRAVITY =

base text gravity (Pango::AttrInt)

21 or :gravity
GRAVITY_HINT =

gravity hint (Pango::AttrInt)

22 or :gravity_hint
FONT_FEATURES =

OpenType font features (Pango::AttrString). Since 1.38

23 or :font_features
FOREGROUND_ALPHA =

foreground alpha (Pango::AttrInt). Since 1.38

24 or :foreground_alpha
BACKGROUND_ALPHA =

background alpha (Pango::AttrInt). Since 1.38

25 or :background_alpha
ALLOW_BREAKS =

whether breaks are allowed (Pango::AttrInt). Since 1.44

26 or :allow_breaks
SHOW =

how to render invisible characters (Pango::AttrInt). Since 1.44

27 or :show
INSERT_HYPHENS =

whether to insert hyphens at intra-word line breaks (Pango::AttrInt). Since 1.44

28 or :insert_hyphens