The IGraphics type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
BeginPaint |
Begin using off-screen buffer and cache drawing which will be done after.
|
![]() |
DrawLine |
Draws a line with foreground color.
Note that the point where the line extends to will also be painted.
|
![]() |
DrawRectangle |
Draws a rectangle with foreground color.
Note that right and bottom edge will also be painted.
|
![]() |
DrawText |
Draws a text.
|
![]() |
EndPaint |
End using off-screen buffer and flush all drawing results.
|
![]() |
FillRectangle |
Fills a rectangle with background color.
Note that right and bottom edge will also be painted.
|
![]() |
MeasureText(String) |
Measures graphical size of the specified text.
|
![]() |
MeasureText(String, Int32, Int32%) |
Measures graphical size of the a text within the specified clipping width.
|
![]() |
RemoveClipRect |
Remove currently selected clipping region.
|
![]() |
SetClipRect |
Select specified rectangle as a clipping region.
|
Properties
Name | Description | |
---|---|---|
![]() |
BackColor |
Background color used by drawing APIs.
|
![]() |
Font |
Font used for drawing/measuring text.
|
![]() |
FontInfo |
Font used for drawing/measuring text.
|
![]() |
ForeColor |
Foreground color used by drawing APIs.
|