1
0
mirror of https://github.com/golang/go synced 2024-09-23 21:20:13 -06:00

image: fix typo in Alpha16 doc comment

Change-Id: Ie7031ae37f52ea1f229bfb769daf306d537b3d3e
Reviewed-on: https://go-review.googlesource.com/3300
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
Andrew Ekstedt 2015-01-24 14:57:01 -08:00 committed by Minux Ma
parent 1b61a97811
commit dfc4997ede

View File

@ -570,7 +570,7 @@ func NewAlpha(r Rectangle) *Alpha {
return &Alpha{pix, 1 * w, r}
}
// Alpha16 is an in-memory image whose At method returns color.Alpha64 values.
// Alpha16 is an in-memory image whose At method returns color.Alpha16 values.
type Alpha16 struct {
// Pix holds the image's pixels, as alpha values in big-endian format. The pixel at
// (x, y) starts at Pix[(y-Rect.Min.Y)*Stride + (x-Rect.Min.X)*2].