C#:Graphics

From Progzoo
Jump to: navigation, search

The class Graphics includes many methods for drawing figures and text.

Once you have obtained an instance of Graphics you can call various methods.

These methods render figures:

  • DrawLine
  • DrawRectangle
  • FillEllipse

You will need a Pen to draw and a Brush to fill.