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

    | Edit this page View Source

    CodePoint

    Gets the codepoint represented by this glyph.

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

    Dpi

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

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

    Font

    Gets the name of the Font this glyph belongs to.

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

    FontStyle

    Gets the style of the font this glyph belongs to.

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

    GlyphColor

    Gets the color details of this glyph.

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

    GlyphId

    Gets the id of the glyph within the font tables.

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

    GlyphType

    Gets the type of this glyph.

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

    LayoutMode

    Gets the layout mode applied to the glyph.

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

    PointSize

    Gets the rendered point size.

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

    TextRun

    Gets the text run that this glyph belongs to.

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

    Methods

    | Edit this page View Source

    Equals(GlyphRendererParameters)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(GlyphRendererParameters other)
    Parameters
    Type Name Description
    GlyphRendererParameters other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    | Edit this page View Source

    Equals(object?)

    Indicates whether this instance and a specified object are equal.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current instance.

    Returns
    Type Description
    bool

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    Overrides
    ValueType.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A 32-bit signed integer that is the hash code for this instance.

    Overrides
    ValueType.GetHashCode()

    Operators

    | Edit this page View Source

    operator ==(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
    bool

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

    | Edit this page View Source

    operator !=(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
    bool

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

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX