Skip to main content

ShapedBuffer Class

Definition​

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

public sealed class ShapedBuffer : IReadOnlyList<GlyphInfo>, 
IEnumerable<GlyphInfo>, IEnumerable, IReadOnlyCollection<GlyphInfo>,
IDisposable
View Source
InheritanceObject → ShapedBuffer
ImplementsIEnumerable(GlyphInfo), IReadOnlyCollection(GlyphInfo), IReadOnlyList(GlyphInfo), IEnumerable, IDisposable

Constructors​

ShapedBuffer(ReadOnlyMemory(Char), Int32, IGlyphTypeface, Double, SByte)Initializes a new instance of the ShapedBuffer class

Properties​

BidiLevelThe buffer's bidi level.
FontRenderingEmSizeThe buffers font rendering em size.
GlyphTypefaceThe buffer's glyph typeface.
IsLeftToRightThe buffer's reading direction.
Item(Int32) 
LengthThe buffer's length.
TextThe text that is represended by this buffer.

Methods​

Dispose()Releases all resources used by the ShapedBuffer
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetEnumerator() 
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
Reverse()Reverses the buffer.
Split(Int32)Splits the TextRun at specified length.
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also​

Reference​

Avalonia.Media.TextFormatting Namespace