Skip to main content

Struct Tag

Namespace: HarfBuzzSharp
Assembly: VelloSharp.HarfBuzzSharp.dll

public readonly struct Tag : IEquatable<Tag>

Implements

IEquatable<Tag>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

Tag(char, char, char, char)

public Tag(char c1, char c2, char c3, char c4)

Parameters

c1 char

c2 char

c3 char

c4 char

Fields

Max

public static readonly Tag Max

Field Value

Tag

MaxSigned

public static readonly Tag MaxSigned

Field Value

Tag

None

public static readonly Tag None

Field Value

Tag

Methods

Equals(Tag)

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

public bool Equals(Tag other)

Parameters

other Tag

An object to compare with this object.

Returns

bool

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

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object?

The object to compare with the current instance.

Returns

bool

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

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

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

Parse(string)

public static Tag Parse(string tag)

Parameters

tag string

Returns

Tag

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

implicit operator uint(Tag)

public static implicit operator uint(Tag tag)

Parameters

tag Tag

Returns

uint

implicit operator Tag(uint)

public static implicit operator Tag(uint tag)

Parameters

tag uint

Returns

Tag