Small Basic Quiz 03

Welcome to Small Basic Quiz #3!

Here are the questions:

  1. When would you want to use the DrawLine() method over the other methods you could draw with?
  2. Where is the origin of the GraphicsWindow located?
  3. What method(s) would you use to draw a cross line on the GraphicsWindow?
  4. How do you change the thickness and color of the lines drawn by the DrawLine() method?
  5. What is the difference between the DrawTriangle() and the FillTriangle() methods?
  6. How do you change the fill color of rectangles drawn by FillRectangle()?
  7. List three ways to set the PenColor property of the GraphicsWindow.
  8. What method you'd call to draw a circle on the GraphicsWindow? What parameters would you pass to this method?
  9. How do you change the font and color of the text drawn by DrawText()?
  10. What is the difference between DrawText() and DrawBoundText()?
  11. What method(s) would you use to draw an image on the GraphicsWindow?
  12. What is the difference between the PlayClick() and PlayClickAndWait() methods?  

 

Leave a comment if you need hints for any of the answers!

Go to https://blogs.msdn.com/SmallBasic to download Small Basic for free and learn all about it!   

 

Have a Small and Basic day!

   - Ninja Ed