Constructor GlyphRun
GlyphRun(string, string, Twips, ColorRgb, Twips, Twips, IReadOnlyList<GlyphClusterAdvance>, UnderlineStyle, ColorRgb, bool, bool, bool, bool, bool, bool)
Initializes a glyph run.
public GlyphRun(string text, string fontFamily, Twips fontSize, ColorRgb color, Twips baselineX, Twips baselineY, IReadOnlyList<GlyphClusterAdvance> clusterAdvances, UnderlineStyle underline = UnderlineStyle.None, ColorRgb underlineColor = default, bool strike = false, bool doubleStrike = false, bool bold = false, bool italic = false, bool syntheticBold = false, bool syntheticItalic = false)
Parameters
textstringfontFamilystringfontSizeTwipscolorColorRgbbaselineXTwipsbaselineYTwipsclusterAdvancesIReadOnlyList<GlyphClusterAdvance>underlineUnderlineStyleunderlineColorColorRgbstrikebooldoubleStrikeboolboldboolitalicboolsyntheticBoldboolsyntheticItalicbool
GlyphRun(string, string, Twips, ColorRgb, Twips, Twips, IReadOnlyList<GlyphClusterAdvance>, UnderlineStyle, ColorRgb, bool, bool, bool, bool, bool, bool, IReadOnlyList<GlyphClusterMap>?)
Initializes a glyph run with optional shaped cluster-map metadata.
public GlyphRun(string text, string fontFamily, Twips fontSize, ColorRgb color, Twips baselineX, Twips baselineY, IReadOnlyList<GlyphClusterAdvance> clusterAdvances, UnderlineStyle underline, ColorRgb underlineColor, bool strike, bool doubleStrike, bool bold, bool italic, bool syntheticBold, bool syntheticItalic, IReadOnlyList<GlyphClusterMap>? clusterMap)
Parameters
textstringfontFamilystringfontSizeTwipscolorColorRgbbaselineXTwipsbaselineYTwipsclusterAdvancesIReadOnlyList<GlyphClusterAdvance>underlineUnderlineStyleunderlineColorColorRgbstrikebooldoubleStrikeboolboldboolitalicboolsyntheticBoldboolsyntheticItalicboolclusterMapIReadOnlyList<GlyphClusterMap>
GlyphRun(string, string, Twips, ColorRgb, Twips, Twips, IReadOnlyList<GlyphClusterAdvance>, UnderlineStyle, ColorRgb, bool, bool, bool, bool, bool, bool, IReadOnlyList<GlyphClusterMap>?, GlyphOrientation)
Initializes a glyph run with optional shaped cluster-map metadata and a quarter-turn orientation.
public GlyphRun(string text, string fontFamily, Twips fontSize, ColorRgb color, Twips baselineX, Twips baselineY, IReadOnlyList<GlyphClusterAdvance> clusterAdvances, UnderlineStyle underline, ColorRgb underlineColor, bool strike, bool doubleStrike, bool bold, bool italic, bool syntheticBold, bool syntheticItalic, IReadOnlyList<GlyphClusterMap>? clusterMap, GlyphOrientation orientation)
Parameters
textstringfontFamilystringfontSizeTwipscolorColorRgbbaselineXTwipsbaselineYTwipsclusterAdvancesIReadOnlyList<GlyphClusterAdvance>underlineUnderlineStyleunderlineColorColorRgbstrikebooldoubleStrikeboolboldboolitalicboolsyntheticBoldboolsyntheticItalicboolclusterMapIReadOnlyList<GlyphClusterMap>orientationGlyphOrientation