Represents a tool class for drawing.
More...
|
static bool | IsInitialized [get] |
| The tools ins initialized.
|
|
|
static GetTextHeightHandler | GetTextHeightHandler |
| Get text height event.
|
|
static GetTextSizeHandler | GetTextSizeHandler |
| Get text size event.
|
|
static GetTextSize2Handler | GetTextSize2Handler |
| Get text size event.
|
|
Represents a tool class for drawing.
◆ GetTextHeight()
static int IGraphics.Drawing2D.GFXTools.GetTextHeight |
( |
string | text, |
|
|
GInterface.IFont | font, |
|
|
int | width ) |
|
static |
Get text height.
- Parameters
-
text | Text. |
font | Font of text. |
width | Maximum width of text. |
- Returns
- Result of height.
◆ GetTextSize()
Get text size.
- Parameters
-
text | Text. |
font | Font of text. |
width | Maximum width of text. |
- Returns
- Result of size.
◆ GetTextSize2()
static ISize IGraphics.Drawing2D.GFXTools.GetTextSize2 |
( |
string | text, |
|
|
GInterface.IFont | font, |
|
|
int | width, |
|
|
int | height ) |
|
static |
Get text size.
- Parameters
-
text | Text. |
font | Font of text. |
width | Maximum width of text. |
height | Maximum heigth of text. |
- Returns
- Result of size.
The documentation for this class was generated from the following file:
- Z:/x4t/src/IGraphics/Drawing2D/GFXTools.cs