• 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
      • GlyphLayoutMode
      • GlyphMetrics
      • GlyphMissingException
      • GlyphRendererParameters
      • GlyphType
      • HintingMode
      • HorizontalAlignment
      • HorizontalMetrics
      • IColorGlyphRenderer
      • IFontCollection
      • IGlyphRenderer
      • IGlyphRendererExtensions
      • IMetricsHeader
      • IReadOnlyFontCollection
      • IReadOnlySystemFontCollection
      • InvalidFontFileException
      • InvalidFontTableException
      • KerningMode
      • LayoutMode
      • LayoutModeExtensions
      • MissingFontTableException
      • SystemFonts
      • TextAlignment
      • TextAttributes
      • TextDecorations
      • TextDirection
      • TextJustification
      • TextMeasurer
      • TextOptions
      • TextRenderer
      • TextRun
      • VerticalAlignment
      • VerticalMetrics
      • WordBreaking
    • SixLabors.Fonts.Tables.AdvancedTypographic
      • FeatureTags
      • GlyphClassDef
      • Tag
    • SixLabors.Fonts.Tables.TrueType
      • TrueTypeGlyphMetrics
    • SixLabors.Fonts.Unicode
      • ArabicJoiningClass
      • ArabicJoiningGroup
      • ArabicJoiningType
      • BidiCharacterType
      • BidiClass
      • BidiPairedBracketType
      • CodePoint
      • GraphemeClusterClass
      • IndicPositionalCategory
      • IndicSyllabicCategory
      • LineBreakClass
      • MemoryExtensions
      • ScriptClass
      • SpanCodePointEnumerator
      • SpanGraphemeEnumerator
      • VerticalOrientationType
    • SixLabors.Fonts.WellKnownIds
      • KnownNameIds

    Struct GlyphBounds

    Represents the bounds of a Glyph for a given CodePoint.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: SixLabors.Fonts
    Assembly: SixLabors.Fonts.dll
    Syntax
    public readonly struct GlyphBounds

    Constructors

    | Edit this page View Source

    GlyphBounds(CodePoint, in FontRectangle, int, int)

    Initializes a new instance of the GlyphBounds struct.

    Declaration
    public GlyphBounds(CodePoint codePoint, in FontRectangle bounds, int graphemeIndex, int stringIndex)
    Parameters
    Type Name Description
    CodePoint codePoint

    The Unicode codepoint for the glyph.

    FontRectangle bounds

    The glyph bounds.

    int graphemeIndex

    The index of the grapheme in original text.

    int stringIndex

    The index of the codepoint in original text..

    Properties

    | Edit this page View Source

    Bounds

    Gets the glyph bounds.

    Declaration
    public FontRectangle Bounds { get; }
    Property Value
    Type Description
    FontRectangle
    | Edit this page View Source

    Codepoint

    Gets the Unicode codepoint of the glyph.

    Declaration
    public CodePoint Codepoint { get; }
    Property Value
    Type Description
    CodePoint
    | Edit this page View Source

    GraphemeIndex

    Gets grapheme index of glyph in original text.

    Declaration
    public int GraphemeIndex { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    StringIndex

    Gets string index of glyph in original text.

    Declaration
    public int StringIndex { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    ToString()

    Returns the fully qualified type name of this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    The fully qualified type name.

    Overrides
    ValueType.ToString()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX