Skip to content

TextStudioGlyphImageIdentity

StructTextStudioTextStudio
public readonly struct TextStudioGlyphImageIdentity

Stable exact rasterization identity. ClusterText is the complete UTF-16 cluster, including ligatures and joiners; a Unicode scalar is not a substitute.

TextStudioGlyphImageIdentity(string, int, int, string, string, string)

Section titled “TextStudioGlyphImageIdentity(string, int, int, string, string, string)”
public TextStudioGlyphImageIdentity(string fontContentHash, int faceIndex, int glyphIndex, string clusterText, string paletteIdentity = "", string variationIdentity = "")

Identifies exact glyph pixels by font content, face, glyph, complete cluster, palette, and variation.

Parameters

NameType
fontContentHashSystem.String
faceIndexSystem.Int32
glyphIndexSystem.Int32
clusterTextSystem.String
paletteIdentitySystem.String
variationIdentitySystem.String

public bool Equals(TextStudioGlyphImageIdentity other)

Parameters

NameType
otherTextStudio.TextStudioGlyphImageIdentity

Returns

System.Boolean

public override bool Equals(object obj)

Parameters

NameType
objSystem.Object

Returns

System.Boolean

public override int GetHashCode()

Returns

System.Int32

public string FontContentHash { get; }

Returns

System.String

public int FaceIndex { get; }

Returns

System.Int32

public int GlyphIndex { get; }

Returns

System.Int32

public string ClusterText { get; }

Returns

System.String

public string PaletteIdentity { get; }

Returns

System.String

public string VariationIdentity { get; }

Returns

System.String

public bool IsValid { get; }

Returns

System.Boolean