SvgGlyph Struct
A glyph a font describes with an SVG document (the SVG table): where the document is in the font data.
public readonly struct SvgGlyph : IEquatable<SvgGlyph>- Implements
Constructors
| Name | Description |
|---|---|
| SvgGlyph(int, int, int, int, int, bool) | A glyph a font describes with an SVG document (the SVG table): where the document is in the font data. |
SvgGlyph(int, int, int, int, int, bool)
A glyph a font describes with an SVG document (the SVG table): where the document is in the font data.
public SvgGlyph(int GlyphId, int FirstGlyphId, int LastGlyphId, int Offset, int Length, bool IsCompressed)Parameters
GlyphIdint- The glyph: the document has an element whose identifier is
glyphfollowed by this number. FirstGlyphIdint- The first glyph of the range of glyphs the document describes.
LastGlyphIdint- The last glyph of the range of glyphs the document describes.
Offsetint- The position of the document in the bytes of the font.
Lengthint- The length of the document in the font, compressed or not.
IsCompressedbool- Whether the document is compressed with gzip;
FontFace.GetSvgDocumentexpands it.
Properties
| Name | Description |
|---|---|
| FirstGlyphId | The first glyph of the range of glyphs the document describes. |
| GlyphId | The glyph: the document has an element whose identifier is glyph followed by this number. |
| IsCompressed | Whether the document is compressed with gzip; FontFace.GetSvgDocument expands it. |
| LastGlyphId | The last glyph of the range of glyphs the document describes. |
| Length | The length of the document in the font, compressed or not. |
| Offset | The position of the document in the bytes of the font. |
FirstGlyphId
SvgGlyph.csGlyphId
SvgGlyph.csIsCompressed
SvgGlyph.csWhether the document is compressed with gzip; FontFace.GetSvgDocument expands it.
public bool IsCompressed { get; init; }Property value
LastGlyphId
SvgGlyph.csLength
SvgGlyph.csOffset
SvgGlyph.csMethods
| Name | Description |
|---|---|
| Deconstruct(int, int, int, int, int, bool) | |
| Equals(SvgGlyph) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Deconstruct(int, int, int, int, int, bool)
Equals overloads
Equals(SvgGlyph)
Equals(object)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(SvgGlyph, SvgGlyph) | |
| operator !=(SvgGlyph, SvgGlyph) |