O'Reilly logo

Visual Basic® .NET by Example by Bob Donald, Gabriel Oancea

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Arcs and Ellipses

Arcs and ellipses are additional graphics objects that can be drawn in GDI+ with relative ease. The DrawArc and DrawEllipse methods on the Graphics object provide this capability.

When drawing an arc, you start by defining a rectangle that the arc is bounded by. Next, you specify the starting angle in which to draw the arc. The starting angle is specified in degrees rotating clockwise starting from the x-axis. The last piece of information you need to provide is the ending angle. The ending angle is the number of degrees the arc ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required