QA

   

Q&A

Q1:

What if I need to draw a lot of lines, one starting where another ends? Do I need to call DrawLine() for each line?

A1:

The Graphics object has a method called DrawLines(), which accepts a series of points. The method draws lines connecting the sequence of points.

Q2:

Is there a way to fill a shape?

A2:

The Graphics object includes methods that draw filled shapes , such as FillEllipse() and FillRectangle().


   
Top


Sams Teach Yourself C# in 24 Hours
Sams Teach Yourself Visual Basic 2010 in 24 Hours Complete Starter Kit (Sams Teach Yourself -- Hours)
ISBN: 0672331136
EAN: 2147483647
Year: 2002
Pages: 253
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net