![]() |
![]() |
![]() |
![]() |
![]() |
|
A Graphics instance, also known as a graphics context, acts
as a controller that determines exactly how graphical commands affect the
display:
Graphics context
Graphical ------------------------
commands -----------------------------> The display
------------------------
The graphics context determines, for example, color and font properties. You soon learn, in Segment 736, that you can tell a graphics context to have all lines drawn in blue. You then learn, in Segment 745, that you can tell a graphics context to have all text printed in Helvetica.