Class GlyphUInt32Id
A glyph identifier backed by an unsigned 32-bit glyph index, as used in TrueType, OpenType and CFF fonts.
Inherited Members
Namespace: DRIT.Drawing.Font.Glyphs
Assembly: DRIT.Drawing.dll
Syntax
public sealed class GlyphUInt32Id : GlyphId
Constructors
GlyphUInt32Id(uint)
Initializes a new GlyphUInt32Id with the specified glyph index.
Declaration
public GlyphUInt32Id(uint value)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | value | Zero-based glyph index within the font. |
Fields
NotDefId
The sentinel value that represents the ".notdef" glyph (index 0). Encoding lookups return this when the requested code point has no mapping.
Declaration
public static readonly GlyphUInt32Id NotDefId
Field Value
| Type | Description |
|---|---|
| GlyphUInt32Id |
Properties
Value
Zero-based glyph index within the font.
Declaration
public uint Value { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Methods
Equals(object?)
A glyph identifier backed by an unsigned 32-bit glyph index, as used in TrueType, OpenType and CFF fonts.
Declaration
public override bool Equals(object? obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
GetHashCode()
A glyph identifier backed by an unsigned 32-bit glyph index, as used in TrueType, OpenType and CFF fonts.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |
Overrides
ToString()
A glyph identifier backed by an unsigned 32-bit glyph index, as used in TrueType, OpenType and CFF fonts.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |