• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.Fonts
      • ColorFontSupport
      • Font
      • FontCollection
      • FontCollectionExtensions
      • FontDescription
      • FontException
      • FontFamily
      • FontFamilyNotFoundException
      • FontMetrics
      • FontRectangle
      • FontStyle
      • Glyph
      • GlyphBounds
      • GlyphColor
      • GlyphMetrics
      • GlyphMissingException
      • GlyphRendererParameters
      • GlyphType
      • HintingMode
      • HorizontalAlignment
      • IColorGlyphRenderer
      • IFontCollection
      • IGlyphDecorationRenderer
      • IGlyphRenderer
      • IGlyphRendererExtensions
      • InvalidFontFileException
      • InvalidFontTableException
      • IReadOnlyFontCollection
      • IReadOnlySystemFontCollection
      • KerningMode
      • LayoutMode
      • MissingFontTableException
      • SystemFonts
      • TextAlignment
      • TextAttributes
      • TextDecorations
      • TextDirection
      • TextJustification
      • TextMeasurer
      • TextOptions
      • TextRenderer
      • TextRun
      • VerticalAlignment
      • WordBreaking
    • SixLabors.Fonts.Tables.AdvancedTypographic
      • FeatureTags
      • GlyphClassDef
      • Tag
    • SixLabors.Fonts.Tables.TrueType
      • TrueTypeGlyphMetrics
    • SixLabors.Fonts.Tables.TrueType.Glyphs
      • GlyphOutline
    • SixLabors.Fonts.Unicode
      • BidiCharacterType
      • BidiClass
      • BidiPairedBracketType
      • CodePoint
      • GraphemeClusterClass
      • JoiningClass
      • JoiningGroup
      • JoiningType
      • LineBreakClass
      • MemoryExtensions
      • ScriptClass
      • SpanCodePointEnumerator
      • SpanGraphemeEnumerator
    • SixLabors.Fonts.WellKnownIds
      • KnownNameIds

    Struct SpanGraphemeEnumerator

    An enumerator for retrieving Grapheme instances from a ReadOnlySpan<T>.
    Implements the Unicode Grapheme Cluster Algorithm. UAX:29 https://www.unicode.org/reports/tr29/tr29-37.html
    Methods are pattern-matched by compiler to allow using foreach pattern.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: SixLabors.Fonts.Unicode
    Assembly: SixLabors.Fonts.dll
    Syntax
    public ref struct SpanGraphemeEnumerator

    Constructors

    | Improve this Doc View Source

    SpanGraphemeEnumerator(ReadOnlySpan<Char>)

    Initializes a new instance of the SpanGraphemeEnumerator struct.

    Declaration
    public SpanGraphemeEnumerator(ReadOnlySpan<char> source)
    Parameters
    Type Name Description
    ReadOnlySpan<Char> source

    The buffer to read from.

    Properties

    | Improve this Doc View Source

    Current

    Gets the element in the collection at the current position of the enumerator.

    Declaration
    public ReadOnlySpan<char> Current { readonly get; }
    Property Value
    Type Description
    ReadOnlySpan<Char>

    Methods

    | Improve this Doc View Source

    GetEnumerator()

    Returns an enumerator that iterates through the collection.

    Declaration
    public SpanGraphemeEnumerator GetEnumerator()
    Returns
    Type Description
    SpanGraphemeEnumerator

    An enumerator that iterates through the collection.

    | Improve this Doc View Source

    MoveNext()

    Advances the enumerator to the next element of the collection.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    Boolean

    true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX