AttrType
Description:
[ CCode ( cprefix = "PANGO_ATTR_" , type_id = "pango_attr_type_get_type ()" ) ]
public enum AttrType
The `PangoAttrType` distinguishes between different types of attributes.
Along with the predefined values, it is possible to allocate additional values for custom attributes using [[email protected]]. The
predefined values are given below. The type of structure used to store the attribute is listed in parentheses after the description.
Content:
Enum values:
- ABSOLUTE_LINE_HEIGHT - line
height ([struct@Pango.
- ABSOLUTE_SIZE - font size in pixels
scaled by pango_scale ([struct@Pango.
- ALLOW_BREAKS - whether breaks are
allowed ([struct@Pango.
- BACKGROUND - background color ([
struct@Pango.
- BACKGROUND_ALPHA - background alpha
([struct@Pango.
- BASELINE_SHIFT - baseline
displacement ([struct@Pango.
- FALLBACK - whether fallback is enabled ([
struct@Pango.
- FAMILY - font family name list ([
struct@Pango.
- FONT_DESC - font description ([
struct@Pango.
- FONT_FEATURES - OpenType font features
([struct@Pango.
- FONT_SCALE - font-relative size change ([
struct@Pango.
- FOREGROUND - foreground color ([
struct@Pango.
- FOREGROUND_ALPHA - foreground alpha
([struct@Pango.
- GRAVITY - base text gravity ([struct@Pango.
- GRAVITY_HINT - gravity hint ([
struct@Pango.
- INSERT_HYPHENS - whether to insert
hyphens at intra-word line breaks ([struct@Pango.
- INVALID - does not happen
- LANGUAGE - language ([struct@Pango.
- LETTER_SPACING - letter spacing ([
struct@PangoAttrInt])
- LINE_HEIGHT - line height factor ([
struct@Pango.
- OVERLINE - whether the text has an overline
([struct@Pango.
- OVERLINE_COLOR - overline color ([
struct@Pango.
- RISE - baseline displacement ([struct@Pango.
- SCALE - font size scale factor ([struct@Pango.
- SENTENCE - override segmentation to
classify the range of the attribute as a single sentence ([struct@Pango.
- SHAPE - shape ([struct@Pango.
- SHOW - how to render invisible characters ([
struct@Pango.
- SIZE - font size in points scaled by
pango_scale ([struct@Pango.
- STRETCH - font stretch ([struct@Pango.
- STRIKETHROUGH - whether the text is
struck-through ([struct@Pango.
- STRIKETHROUGH_COLOR -
strikethrough color ([struct@Pango.
- STYLE - font slant style ([struct@Pango.
- TEXT_TRANSFORM
- UNDERLINE - whether the text has an
underline ([struct@Pango.
- UNDERLINE_COLOR - underline color ([
struct@Pango.
- VARIANT - font variant (normal or small caps
) ([struct@Pango.
- WEIGHT - font weight ([struct@Pango.
- WORD - override segmentation to classify the
range of the attribute as a single word ([struct@Pango.
Static methods:
Methods: