• 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 GlyphRendererParameters

    The combined set of properties that uniquely identify the glyph that is to be rendered at a particular size and dpi.

    Implements
    IEquatable<GlyphRendererParameters>
    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: SixLabors.Fonts
    Assembly: SixLabors.Fonts.dll
    Syntax
    public readonly struct GlyphRendererParameters : IEquatable<GlyphRendererParameters>

    Properties

    | Improve this Doc View Source

    CodePoint

    Gets the codepoint represented by this glyph.

    Declaration
    public readonly CodePoint CodePoint { get; }
    Property Value
    Type Description
    CodePoint
    | Improve this Doc View Source

    Dpi

    Gets the dots-per-inch the glyph is to be rendered at.

    Declaration
    public readonly float Dpi { get; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    Font

    Gets the name of the Font this glyph belongs to.

    Declaration
    public readonly string Font { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    FontStyle

    Gets the style of the font this glyph belongs to.

    Declaration
    public readonly FontStyle FontStyle { get; }
    Property Value
    Type Description
    FontStyle
    | Improve this Doc View Source

    GlyphColor

    Gets the color details of this glyph.

    Declaration
    public readonly GlyphColor GlyphColor { get; }
    Property Value
    Type Description
    GlyphColor
    | Improve this Doc View Source

    GlyphIndex

    Gets the index of the glyph within the font tables.

    Declaration
    public readonly ushort GlyphIndex { get; }
    Property Value
    Type Description
    UInt16
    | Improve this Doc View Source

    GlyphType

    Gets the type of this glyph.

    Declaration
    public readonly GlyphType GlyphType { get; }
    Property Value
    Type Description
    GlyphType
    | Improve this Doc View Source

    PointSize

    Gets the rendered point size.

    Declaration
    public readonly float PointSize { get; }
    Property Value
    Type Description
    Single
    | Improve this Doc View Source

    TextRun

    Gets the text run this glyph belongs to.

    Declaration
    public readonly TextRun TextRun { get; }
    Property Value
    Type Description
    TextRun

    Methods

    | Improve this Doc View Source

    Equals(GlyphRendererParameters)

    Declaration
    public readonly bool Equals(GlyphRendererParameters other)
    Parameters
    Type Name Description
    GlyphRendererParameters other
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override readonly bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override readonly int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    Operators

    | Improve this Doc View Source

    Equality(GlyphRendererParameters, GlyphRendererParameters)

    Compares two GlyphRendererParameters objects for equality.

    Declaration
    public static bool operator ==(GlyphRendererParameters left, GlyphRendererParameters right)
    Parameters
    Type Name Description
    GlyphRendererParameters left

    The GlyphRendererParameters on the left side of the operand.

    GlyphRendererParameters right

    The GlyphRendererParameters on the right side of the operand.

    Returns
    Type Description
    Boolean

    True if the current left is equal to the right parameter; otherwise, false.

    | Improve this Doc View Source

    Inequality(GlyphRendererParameters, GlyphRendererParameters)

    Compares two GlyphRendererParameters objects for inequality.

    Declaration
    public static bool operator !=(GlyphRendererParameters left, GlyphRendererParameters right)
    Parameters
    Type Name Description
    GlyphRendererParameters left

    The GlyphRendererParameters on the left side of the operand.

    GlyphRendererParameters right

    The GlyphRendererParameters on the right side of the operand.

    Returns
    Type Description
    Boolean

    True if the current left is unequal to the right parameter; otherwise, false.

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX