Struct GlyphBounds
Inherited Members
Namespace: SixLabors.Fonts
Assembly: SixLabors.Fonts.dll
Syntax
public readonly struct GlyphBounds
Constructors
| Improve this Doc View SourceGlyphBounds(CodePoint, FontRectangle)
Initializes a new instance of the GlyphBounds struct.
Declaration
public GlyphBounds(CodePoint codePoint, FontRectangle bounds)
Parameters
| Type | Name | Description |
|---|---|---|
| CodePoint | codePoint | The Unicode codepoint for the glyph. |
| FontRectangle | bounds | The glyph bounds. |
Properties
| Improve this Doc View SourceBounds
Gets the glyph bounds.
Declaration
public readonly FontRectangle Bounds { get; }
Property Value
| Type | Description |
|---|---|
| FontRectangle |
Codepoint
Gets the Unicode codepoint of the glyph.
Declaration
public readonly CodePoint Codepoint { get; }
Property Value
| Type | Description |
|---|---|
| CodePoint |
Methods
| Improve this Doc View SourceToString()
Declaration
public override readonly string ToString()
Returns
| Type | Description |
|---|---|
| String |