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

    DpiX

    Gets the dpi along the X axis we are rendering at.

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

    DpiY

    Gets the dpi along the Y axis we are rendering at.

    Declaration
    public readonly float DpiY { 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 type 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.

    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

    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