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

    | Improve this Doc View Source

    Tag(UInt32)

    Initializes a new instance of the Tag struct.

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

    The tag value.

    Properties

    | Improve this Doc View Source

    Value

    Gets the Tag value as 32 bit unsigned integer.

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

    Methods

    | Improve this Doc View Source

    Equals(Tag)

    Declaration
    public readonly bool Equals(Tag other)
    Parameters
    Type Name Description
    Tag 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()
    | Improve this Doc 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.

    | Improve this Doc View Source

    ToString()

    Declaration
    public override readonly string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Operators

    | Improve this Doc View Source

    Equality(Tag, Tag)

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

    Implicit(FeatureTags to Tag)

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

    Implicit(UInt32 to Tag)

    Declaration
    public static implicit operator Tag(uint value)
    Parameters
    Type Name Description
    UInt32 value
    Returns
    Type Description
    Tag
    | Improve this Doc View Source

    Inequality(Tag, Tag)

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

    Implements

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