The IGraphics type exposes the following members.

Methods

  Name Description
Public method BeginPaint
Begin using off-screen buffer and cache drawing which will be done after.
Public method DrawLine
Draws a line with foreground color. Note that the point where the line extends to will also be painted.
Public method DrawRectangle
Draws a rectangle with foreground color. Note that right and bottom edge will also be painted.
Public method DrawText
Draws a text.
Public method EndPaint
End using off-screen buffer and flush all drawing results.
Public method FillRectangle
Fills a rectangle with background color. Note that right and bottom edge will also be painted.
Public method MeasureText(String)
Measures graphical size of the specified text.
Public method MeasureText(String, Int32, Int32%)
Measures graphical size of the a text within the specified clipping width.
Public method RemoveClipRect
Remove currently selected clipping region.
Public method SetClipRect
Select specified rectangle as a clipping region.

See Also