Sams Teach Yourself Visual Basic 2010 in 24 Hours Complete Starter Kit (Sams Teach Yourself -- Hours)
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 |