Pango.AttrType Enumeration
This enumeration is used to distinguish between different types of attributes.

Syntax

[GLib.GType(typeof(Pango.AttrTypeGType))]
public enum AttrType

Remarks

This enumeration is used to distinguish between different types of attributes. Along with the predefined values, it is possible to allocate additional values for custom attributes using Attr.TypeRegister(string). The predefined values are given below. The type of structure used to store the attribute is listed in parentheses after the description.

Members

Member NameDescription
InvalidInvalid
LanguageLanguage (Pango.AttrLanguage)
FamilyFont family name list (Pango.AttrFamily)
StyleFont slant style (Pango.AttrInt)
WeightFont weight (Pango.AttrInt)
Variant Font variant (normal or small caps) (Pango.AttrInt)
StretchFont stretch (Pango.AttrInt)
Size Font size in points divided by Pango.Scale (Pango.AttrInt)
FontDescFont description (Pango.AttrFontDesc)
ForegroundForeground color (Pango.AttrColor)
BackgroundBackground color (Pango.AttrColor)
UnderlineWhether the text has an underline (Pango.AttrInt)
StrikethroughWhether the text has an struck-through (Pango.AttrInt)
RiseBaseline displacement (Pango.AttrInt)
ShapeShape (Pango.AttrShape)
Scale Font size scale factor (Pango.AttrScale)
FallbackWhether fallback is enabled.
LetterSpacing Spacing between characters.
UnderlineColorColor of the underline.
StrikethroughColorColor of the strikethrough line.
AbsoluteSizeAbsolute font size.
GravityGravity.
GravityHintGravity Hint.

Requirements

Namespace: Pango
Assembly: pango-sharp (in pango-sharp.dll)
Assembly Versions: 2.12.0.0