Skip to main content

TextShaperOptions Structure

Options to customize text shaping.

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public readonly struct TextShaperOptions : IEquatable<TextShaperOptions>
View Source
InheritanceObjectValueType → TextShaperOptions
ImplementsIEquatable(TextShaperOptions)

Constructors

TextShaperOptions(IGlyphTypeface, Double, SByte, CultureInfo, Double, Double)Initializes a new instance of the TextShaperOptions class
TextShaperOptions(IGlyphTypeface, IReadOnlyList(FontFeature), Double, SByte, CultureInfo, Double, Double)Initializes a new instance of the TextShaperOptions class

Properties

BidiLevelGet the bidi level of the text.
CultureGet the culture.
FontFeaturesGet features.
FontRenderingEmSizeGet the font rendering em size.
IncrementalTabWidthGet the incremental tab width.
LetterSpacingGet the letter spacing.
TypefaceGet the typeface.

Methods

GetType()Gets the Type of the current instance.
(Inherited from Object)

See Also

Reference

Avalonia.Media.TextFormatting Namespace