Instance Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
variationFaceIndex
Active face index in the TrueType / OpenType collection file.
FontVariation.swift:51final var variationFaceIndex: Int32 { get set }
Other members in extension
Type members
Instance members
var baseFont: Font?
Base font used to create a variation. If not set, default
Theme
font is used.var opentypeFeatures: GDictionary
A set of OpenType feature tags. More info: OpenType feature tags.
var spacingBottom: Int32
Extra spacing at the bottom of the line in pixels.
var spacingGlyph: Int32
Extra spacing between graphical glyphs.
var spacingSpace: Int32
Extra width of the space glyphs.
var spacingTop: Int32
Extra spacing at the top of the line in pixels.
var variationEmbolden: Double
If is not equal to zero, emboldens the font outlines. Negative values reduce the outline thickness.
var variationOpentype: GDictionary
Font OpenType variation coordinates. More info: OpenType variation tags.
var variationTransform: Transform2D
2D transform, applied to the font outlines, can be used for slanting, flipping and rotating glyphs.