diff --git a/doc/articles/image_draw.html b/doc/articles/image_draw.html index ba735ad2b4..71658cf920 100644 --- a/doc/articles/image_draw.html +++ b/doc/articles/image_draw.html @@ -89,7 +89,7 @@ interface which has a Set method.

To fill a rectangle with a solid color, use an image.Uniform -source. The ColorImage type re-interprets a Color as a +source. The Uniform type re-interprets a Color as a practically infinite-sized Image of that color. For those familiar with the design of Plan 9's draw library, there is no need for an explicit "repeat bit" in Go's slice-based image types; the @@ -189,7 +189,7 @@ To draw an image through a circular mask with center p and radius

To draw a font glyph in blue starting from a point p, draw with -an image.ColorImage source and an image.Alpha mask. For +an image.Uniform source and an image.Alpha mask. For simplicity, we aren't performing any sub-pixel positioning or rendering, or correcting for a font's height above a baseline.