-
Cast constructor, converting any binary integer to a
AttrType
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
does not happen
Declaration
Swift
static let invalid: PangoAttrType
-
language ([struct
Pango.AttrLanguage
])Declaration
Swift
static let language: PangoAttrType
-
font family name list ([struct
Pango.AttrString
])Declaration
Swift
static let family: PangoAttrType
-
font slant style ([struct
Pango.AttrInt
])Declaration
Swift
static let style: PangoAttrType
-
font weight ([struct
Pango.AttrInt
])Declaration
Swift
static let weight: PangoAttrType
-
font variant (normal or small caps) ([struct
Pango.AttrInt
])Declaration
Swift
static let variant: PangoAttrType
-
font stretch ([struct
Pango.AttrInt
])Declaration
Swift
static let stretch: PangoAttrType
-
font size in points scaled by
PANGO_SCALE
([structPango.AttrInt
])Declaration
Swift
static let size: PangoAttrType
-
font description ([struct
Pango.AttrFontDesc
])Declaration
Swift
static let fontDesc: PangoAttrType
-
foreground color ([struct
Pango.AttrColor
])Declaration
Swift
static let foreground: PangoAttrType
-
background color ([struct
Pango.AttrColor
])Declaration
Swift
static let background: PangoAttrType
-
whether the text has an underline ([struct
Pango.AttrInt
])Declaration
Swift
static let underline: PangoAttrType
-
whether the text is struck-through ([struct
Pango.AttrInt
])Declaration
Swift
static let strikethrough: PangoAttrType
-
baseline displacement ([struct
Pango.AttrInt
])Declaration
Swift
static let rise: PangoAttrType
-
shape ([struct
Pango.AttrShape
])Declaration
Swift
static let shape: PangoAttrType
-
font size scale factor ([struct
Pango.AttrFloat
])Declaration
Swift
static let scale: PangoAttrType
-
whether fallback is enabled ([struct
Pango.AttrInt
])Declaration
Swift
static let fallback: PangoAttrType
-
letter spacing ([struct
PangoAttrInt
])Declaration
Swift
static let letterSpacing: PangoAttrType
-
underline color ([struct
Pango.AttrColor
])Declaration
Swift
static let underlineColor: PangoAttrType
-
strikethrough color ([struct
Pango.AttrColor
])Declaration
Swift
static let strikethroughColor: PangoAttrType
-
font size in pixels scaled by
PANGO_SCALE
([structPango.AttrInt
])Declaration
Swift
static let absoluteSize: PangoAttrType
-
base text gravity ([struct
Pango.AttrInt
])Declaration
Swift
static let gravity: PangoAttrType
-
gravity hint ([struct
Pango.AttrInt
])Declaration
Swift
static let gravityHint: PangoAttrType
-
OpenType font features ([struct
Pango.AttrFontFeatures
]). Since 1.38Declaration
Swift
static let fontFeatures: PangoAttrType
-
foreground alpha ([struct
Pango.AttrInt
]). Since 1.38Declaration
Swift
static let foregroundAlpha: PangoAttrType
-
background alpha ([struct
Pango.AttrInt
]). Since 1.38Declaration
Swift
static let backgroundAlpha: PangoAttrType
-
whether breaks are allowed ([struct
Pango.AttrInt
]). Since 1.44Declaration
Swift
static let allowBreaks: PangoAttrType
-
how to render invisible characters ([struct
Pango.AttrInt
]). Since 1.44Declaration
Swift
static let show: PangoAttrType
-
whether to insert hyphens at intra-word line breaks ([struct
Pango.AttrInt
]). Since 1.44Declaration
Swift
static let insertHyphens: PangoAttrType
-
whether the text has an overline ([struct
Pango.AttrInt
]). Since 1.46Declaration
Swift
static let overline: PangoAttrType
-
overline color ([struct
Pango.AttrColor
]). Since 1.46Declaration
Swift
static let overlineColor: PangoAttrType
-
line height factor ([struct
Pango.AttrFloat
]). Since: 1.50Declaration
Swift
static let lineHeight: PangoAttrType
-
line height ([struct
Pango.AttrInt
]). Since: 1.50Declaration
Swift
static let absoluteLineHeight: PangoAttrType
-
Undocumented
Declaration
Swift
static let textTransform: PangoAttrType
-
override segmentation to classify the range of the attribute as a single word ([struct
Pango.AttrInt
]). Since 1.50Declaration
Swift
static let word: PangoAttrType
-
override segmentation to classify the range of the attribute as a single sentence ([struct
Pango.AttrInt
]). Since 1.50Declaration
Swift
static let sentence: PangoAttrType
-
baseline displacement ([struct
Pango.AttrInt
]). Since 1.50Declaration
Swift
static let baselineShift: PangoAttrType
-
font-relative size change ([struct
Pango.AttrInt
]). Since 1.50Declaration
Swift
static let fontScale: PangoAttrType