• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.Fonts
      • ColorFontSupport
      • Font
      • FontCollection
      • FontDescription
      • FontFamily
      • FontFamilyCollectionExtensions
      • FontInstance
      • FontRectangle
      • FontStyle
      • Glyph
      • GlyphColor
      • GlyphInstance
      • GlyphMetric
      • GlyphRendererParameters
      • GlyphType
      • HorizontalAlignment
      • IColorGlyphRenderer
      • IFontCollection
      • IFontInstance
      • IGlyphRenderer
      • IGlyphRendererExtensions
      • IReadOnlyFontCollection
      • IReadonlyFontCollectionExtensions
      • RendererOptions
      • SystemFonts
      • TextMeasurer
      • TextRenderer
      • VerticalAlignment
    • SixLabors.Fonts.Exceptions
      • FontException
      • FontFamilyNotFoundException
      • GlyphMissingException
      • InvalidFontFileException
      • InvalidFontTableException
      • MissingFontTableException

    Struct Glyph

    A glyph from a particular font face.

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

    Properties

    | Improve this Doc View Source

    Instance

    Gets the glyph instance.

    Declaration
    public readonly GlyphInstance Instance { get; }
    Property Value
    Type Description
    GlyphInstance

    The glyph instance.

    Methods

    | Improve this Doc View Source

    BoundingBox(Vector2, Vector2)

    Calculates the bounding box

    Declaration
    public readonly FontRectangle BoundingBox(Vector2 location, Vector2 dpi)
    Parameters
    Type Name Description
    Vector2 location

    location to calculate from.

    Vector2 dpi

    dpi to calualtes in relation to

    Returns
    Type Description
    FontRectangle

    The bounding box

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