QA


Q&A

Q.

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

A.

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

Q.

Is there a way to fill a shape?

A.

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




Sams Teach Yourself Microsoft Visual C# 2005 in 24 Hours, Complete Starter Kit
Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit
ISBN: 0672327406
EAN: 2147483647
Year: N/A
Pages: 248
Authors: James Foxall

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