TextRange Structure
References a portion of a text buffer.
Definition
Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public readonly struct TextRange : IEquatable<TextRange>
Public Structure TextRange
Implements IEquatable(Of TextRange)
[<SealedAttribute>]
type TextRange =
struct
inherit ValueType
interface IEquatable<TextRange>
end
Inheritance | Object → ValueType → TextRange |
Implements | IEquatable(TextRange) |
Constructors
TextRange(Int32, Int32) | Initializes a new instance of the TextRange class |
Properties
End | Gets the end. |
Length | Gets the length. |
Start | Gets the start. |
Methods
GetType() | Gets the Type of the current instance. (Inherited from Object) |
Skip(Int32) | Bypasses a specified number of elements in the slice and then returns the remaining elements. |
Take(Int32) | Returns a specified number of contiguous elements from the start of the slice. |