|
VectSharp 2.6.1
A light library for C# vector graphics
|
Represents a string with associated formatting information. More...
Public Member Functions | |
| FormattedString (string text, Colour colour, bool isBold, bool isItalic) | |
| Creates a new FormattedString instance. More... | |
Properties | |
| string | Text [get] |
| The text represented by this object. More... | |
| Colour | Colour [get] |
| The colour of the text. More... | |
| bool | IsBold [get] |
| Whether the text should be rendered as bold or not. More... | |
| bool | IsItalic [get] |
| Whether the text should be rendered as italic or not. More... | |
Represents a string with associated formatting information.
Definition at line 32 of file SyntaxHighlighting.cs.
| VectSharp.Markdown.FormattedString.FormattedString | ( | string | text, |
| Colour | colour, | ||
| bool | isBold, | ||
| bool | isItalic | ||
| ) |
Creates a new FormattedString instance.
| text | The text of the object. |
| colour | The colour of the text. |
| isBold | Whether the text should be rendered as bold or not. |
| isItalic | Whether the text should be rendered as italic or not. |
Definition at line 61 of file SyntaxHighlighting.cs.
|
get |
The colour of the text.
Definition at line 42 of file SyntaxHighlighting.cs.
|
get |
Whether the text should be rendered as bold or not.
Definition at line 47 of file SyntaxHighlighting.cs.
|
get |
Whether the text should be rendered as italic or not.
Definition at line 52 of file SyntaxHighlighting.cs.
|
get |
The text represented by this object.
Definition at line 37 of file SyntaxHighlighting.cs.