Class TextBuilder
Provides mechanisms for building IPathCollection instances from text strings.
Inherited Members
Namespace: SixLabors.ImageSharp.Drawing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public static class TextBuilder
Methods
| Improve this Doc View SourceGenerateGlyphs(String, IPath, TextOptions)
Generates the shapes corresponding the glyphs described by the text options along the described path.
Declaration
public static IPathCollection GenerateGlyphs(string text, IPath path, TextOptions textOptions)
Parameters
Type | Name | Description |
---|---|---|
String | text | The text to generate glyphs for |
IPath | path | The path to draw the text in relation to |
TextOptions | textOptions | The text rendering options. |
Returns
Type | Description |
---|---|
IPathCollection | The IPathCollection |
GenerateGlyphs(String, TextOptions)
Generates the shapes corresponding the glyphs described by the text options.
Declaration
public static IPathCollection GenerateGlyphs(string text, TextOptions textOptions)
Parameters
Type | Name | Description |
---|---|---|
String | text | The text to generate glyphs for. |
TextOptions | textOptions | The text rendering options. |
Returns
Type | Description |
---|---|
IPathCollection | The IPathCollection |