SFNTTag

public struct SFNTTag : RawRepresentable
extension SFNTTag: ExpressibleByStringLiteral
extension SFNTTag: CustomStringConvertible
extension SFNTTag: Hashable

An SFNT tag value type.

  • The corresponding value of the raw type.

    Declaration

    Swift

    public let rawValue: UInt32
  • Creates a new instance with the specified raw value.

    Declaration

    Swift

    public init?(rawValue: UInt32)

    Parameters

    rawValue

    The raw value to use for the new instance.

  • Creates a new instance with the specified tag string.

    Declaration

    Swift

    public init?(string: String)

    Parameters

    string

    The tag string.

  • Creates an instance initialized to the specified tag string.

    Declaration

    Swift

    public init(stringLiteral value: String)

    Parameters

    value

    The tag string.

  • A textual representation of this tag.

    Declaration

    Swift

    public var description: String { get }