[]
Represents a glyph run on a single line.
public class GlyphRun
Gets the offset to glyph run baseline relative to the text line position, in graphic units.
public float BaselineOffset { get; }
Gets the resolved bidi level of the GlyphRun.
public short BidiLevel { get; }
Gets the character width scale factor (or height scale factor for vertical text).
public float CharWidthFactor { get; }
Gets the number of code points in the glyph run.
public int CodePointCount { get; }
Gets the index of the first code point in the glyph run.
public int CodePointIndex { get; }
Gets the array of UTF-32 characters (code points).
public int[] CodePoints { get; }
Gets a value indicating if the glyph run represents the conditional hyphen.
public bool ConditionalHyphen { get; }
Indicates if the glyphs with usually horizontal reading direction should appear upright with vertical reading direction.
public bool EmulatedUpright { get; }
Gets the first glyph of the run.
public GlyphInfo FirstGlyph { get; }
Gets the factor to scale from the font design units to the specified font size.
public float FontUnitsToSize { get; }
Gets the format of the GlyphRun.
public TextFormat Format { get; }
Gets the number of the glyphs in the run.
public int GlyphCount { get; }
Gets the associated InlineObject, if any exists.
public InlineObject InlineObject { get; }
Gets a value indicating if the glyph run is ellipsis for trimmed text.
public bool IsEllipsis { get; }
Gets a value indicating if the glyph run represents a tabulation character.
public bool IsTab { get; }
Gets the last glyph of the run.
public GlyphInfo LastGlyph { get; }
Gets the length of the glyph run along the reading direction, in graphic units.
public float Length { get; }
Gets the owner LineSection object, if any exists.
public LineSection LineSection { get; }
Gets the offset of the glyph run start along the reading direction, in graphic units.
public float Offset { get; }
Gets the offset to glyph run's top origin (left for vertical text) relative to the text line position, in graphic units.
public float OriginOffset { get; }
Indicates if the glyph run should appear from right to left.
public bool RightToLeft { get; }
Indicates if sideways should be rotated counterclockwise.
public bool RotateSidewaysCounterclockwise { get; }
Indicates if the glyph run should appear rotated 90 or -90 degrees.
public bool Sideways { get; }
Gets a value indicating whether the glyph run should be displayed as superscript or as subscript.
public bool SuperOrSubscript { get; }
Gets a value indicating if the glyph run represents a character tabulation with additional alignment options.
public bool TabWithAlignment { get; }
Gets the owner TextLayout object.
public TextLayout TextLayout { get; }
Gets the owner TextLine object.
public TextLine TextLine { get; }
Indicates if the glyph run should appear upright with vertical reading direction.
public bool Vertical { get; }
Gets the offset from the Roman baseline to Ideographic centered baseline, in graphic units.
public float VerticalBaselineOffset { get; }