diff --git a/collects/teachpack/htdc/Docs/colors.thtml b/collects/teachpack/htdc/Docs/colors.thtml
index c96d32f7f3..7a8683db5d 100644
--- a/collects/teachpack/htdc/Docs/colors.thtml
+++ b/collects/teachpack/htdc/Docs/colors.thtml
@@ -4,9 +4,9 @@
This draw
package provides classes for representing colors:
- +-------+
- | Color |
- +-------+
+ +--------+
+ | AColor |
+ +--------+
|
/ \
---
@@ -19,7 +19,7 @@ This draw
package provides classes for representing colors:
-The Color
class is abstract. Its variants (subclasses) are
+
The AColor
class is abstract. Its variants (subclasses) are
created with no arguments.
close
before has no effect.
-close()
, which hides the canvas. If it succeeds, it produces true
.
+close()
, which hides the canvas and erases the current content.
+If it succeeds, it produces true
.
Closing the Canvas using the display controls does not fully hide the
canvas; it is still necessary to invoke close
before
@@ -152,7 +153,7 @@ Canvas at p
with width w
, height
h
, and color c
. The rectangle's lines are parallel to
the canvas's borders. If it succeeds, it produces true
.
clearLine(Posn p0, Posn p1, Color c)
, which erases a line from this
+clearLine(Posn p0, Posn p1, AColor c)
, which erases a line from this
Canvas
from p0
to p1
using color
c
. If it succeeds, it produces true
.
diff --git a/collects/teachpack/htdc/Docs/idraw.thtml b/collects/teachpack/htdc/Docs/idraw.thtml
index a8bbc1e34a..17e81ef2a6 100644
--- a/collects/teachpack/htdc/Docs/idraw.thtml
+++ b/collects/teachpack/htdc/Docs/idraw.thtml
@@ -18,15 +18,15 @@ import geometry.*;
| void bigBang(int,int,double) | +------------------------------------+
| World endOfTime(String) | | void show() |
| World endOfWorld(String) | | void close() |
- | abstract void onTick() | | void drawCircle(Posn,int,Color) |
- | abstract void onKeyEvent(String)| | void drawDisk(Posn,int,Color) |
- | abstract void draw() | | void drawRect(Posn,int,int,Color) |
- | abstract void erase() | | void drawLine(Posn,Posn,Color) |
+ | abstract void onTick() | | void drawCircle(Posn,int,AColor) |
+ | abstract void onKeyEvent(String)| | void drawDisk(Posn,int,AColor) |
+ | abstract void draw() | | void drawRect(Posn,int,int,AColor) |
+ | abstract void erase() | | void drawLine(Posn,Posn,AColor) |
+---------------------------------+ | void drawString(Posn,String) |
- | void clearCircle(Posn,int,Color) |
- | void clearDisk(Posn,int,Color) |
- | void clearRect(Posn,int,int,Color) |
- | void clearLine(Posn,Posn,Color) |
+ | void clearCircle(Posn,int,AColor) |
+ | void clearDisk(Posn,int,AColor) |
+ | void clearRect(Posn,int,int,AColor)|
+ | void clearLine(Posn,Posn,AColor) |
+------------------------------------+