Zoo tutorials: [ SQL | Linux | XML ]
ProgZoo: [ Java | C# | VB | C++ | Perl ]
Log in

A Gentle Introduction to
VB Programming

Drawing and filling rectangles. Using colour.

 

Graphics

Drawing and filling rectangles. Using colour.

1. [ VB ] Drawing rectangles and using colour


Big

draw
The word draw is often used to indicate that only the outline shows
pen and stroke are associated with drawing
fill
Typically fill is used to indicate that the shape is filled in a solid way
brush and fill are associated with filling

We produce three rectangles. One uses drawRect, the others use fillRect.

three rectangles