FontMask
public struct FontMask : OptionSet
The bits in a PangoFontMask
correspond to the set fields in a
PangoFontDescription
.
-
The corresponding value of the raw type
Declaration
Swift
public var rawValue: UInt32
-
The equivalent raw Int value
Declaration
Swift
@inlinable public var intValue: Int { get set }
-
The equivalent raw
gint
valueDeclaration
Swift
@inlinable public var int: gint { get set }
-
The equivalent underlying
PangoFontMask
enum valueDeclaration
Swift
@inlinable public var value: PangoFontMask { get set }
-
Creates a new instance with the specified raw value
Declaration
Swift
@inlinable public init(rawValue: UInt32)
-
Creates a new instance with the specified
PangoFontMask
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: PangoFontMask)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
the font family is specified.
Declaration
Swift
public static let family: FontMask
-
the font style is specified.
Declaration
Swift
public static let style: FontMask
-
the font variant is specified.
Declaration
Swift
public static let variant: FontMask
-
the font weight is specified.
Declaration
Swift
public static let weight: FontMask
-
the font stretch is specified.
Declaration
Swift
public static let stretch: FontMask
-
the font size is specified.
Declaration
Swift
public static let size: FontMask
-
the font gravity is specified (Since: 1.16.)
Declaration
Swift
public static let gravity: FontMask
-
OpenType font variations are specified (Since: 1.42)
Declaration
Swift
public static let variations: FontMask