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

    Data type for tag identifiers. Tags are four byte integers, each byte representing a character. Tags are used to identify tables, design-variation axes, scripts, languages, font features, and baselines with human-readable names.

    Implements
    IEquatable<Tag>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: SixLabors.Fonts.Tables.AdvancedTypographic
    Assembly: SixLabors.Fonts.dll
    Syntax
    public readonly struct Tag : IEquatable<Tag>

    Constructors

    | Edit this page View Source

    Tag(uint)

    Initializes a new instance of the Tag struct.

    Declaration
    public Tag(uint value)
    Parameters
    Type Name Description
    uint value

    The tag value.

    Properties

    | Edit this page View Source

    Value

    Gets the Tag value as 32 bit unsigned integer.

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

    Methods

    | Edit this page View Source

    Equals(Tag)

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

    Declaration
    public bool Equals(Tag other)
    Parameters
    Type Name Description
    Tag 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()
    | Edit this page View Source

    Parse(string)

    Converts the string representation of a number to its Tag equivalent.

    Declaration
    public static Tag Parse(string value)
    Parameters
    Type Name Description
    string value

    A string containing a tag to convert.

    Returns
    Type Description
    Tag

    The Tag.

    | 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()

    Operators

    | Edit this page View Source

    operator ==(Tag, Tag)

    Declaration
    public static bool operator ==(Tag left, Tag right)
    Parameters
    Type Name Description
    Tag left
    Tag right
    Returns
    Type Description
    bool
    | Edit this page View Source

    implicit operator Tag(FeatureTags)

    Declaration
    public static implicit operator Tag(FeatureTags value)
    Parameters
    Type Name Description
    FeatureTags value
    Returns
    Type Description
    Tag
    | Edit this page View Source

    implicit operator Tag(uint)

    Declaration
    public static implicit operator Tag(uint value)
    Parameters
    Type Name Description
    uint value
    Returns
    Type Description
    Tag
    | Edit this page View Source

    operator !=(Tag, Tag)

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

    Implements

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