IPaintContext - ahatornn/clforms GitHub Wiki
IPaintContext
ClForms.Abstractions.Engine.IPaintContext
Custom drawing context
public interface IPaintContext
Methods
| Syntax | Description |
|---|---|
| SetCursorPos(int x, int y) | Specifies the coordinates of the start of drawing |
| SetCursorPos(Point point) | Specifies the coordinates of the start of drawing |
| DrawText(string text) | Draws text in current coordinates and with current background and font colors |
| DrawText(char @char) | Draws symbol in current coordinates and with current background and font colors |
| DrawText(string text, Color | Draws text in the current coordinates and with the current background and specified font color |
| DrawText(char @char, Color foregroundColor) | Draws symbol in the current coordinates and with the current background and specified font color |
| DrawText(char @char, Color backgroundColor, Color foregroundColor) | Draws a symbol in current coordinates with the specified background and font colors |
| DrawText(string text, Color backgroundColor, Color foregroundColor) | Draws a text in current coordinates with the specified background and font colors |
| GetColorPoint(int col, int row) | Gets a ContextColorPoint in point col and row |