![]() |
![]() |
![]() |
![]() |
![]() |
|
Define ThermometerGraphPane, a class that
produces a drawing that looks like a traditional glass thermometer with a
reading halfway between maximum and minimum. Pattern your definition on
the MeterGraphPane class defined in Segment 681.
Use the circleFilled: and the setFillColor: methods to
draw the bulb. Use the polygon: and polygonFilled: methods
to draw the rest of the thermometer.