diff options
author | Nigel Tao <nigeltao@golang.org> | 2021-06-29 16:53:44 +1000 |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2021-06-30 02:00:49 +0000 |
commit | d19a53338fa6272b4fe9c39d66812a79e1464cd2 (patch) | |
tree | 70d80b3fac7e91d728c25b54afb95af95eb3e28f /doc | |
parent | c45e800e0cb237fcedc9a3e4fd243e3a7f47334c (diff) | |
download | go-d19a53338fa6272b4fe9c39d66812a79e1464cd2.tar.gz go-d19a53338fa6272b4fe9c39d66812a79e1464cd2.zip |
image: add Uniform.RGBA64At and Rectangle.RGBA64At
These types already implemented the Image interface. They should also
implement the RGBA64Image interface (new in Go 1.17)
Updates #44808
Change-Id: I9a2b13e305997088ae874efb95ad9e1648f94812
Reviewed-on: https://go-review.googlesource.com/c/go/+/331570
Trust: Nigel Tao <nigeltao@golang.org>
Run-TryBot: Nigel Tao <nigeltao@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.17.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go1.17.html b/doc/go1.17.html index 3551ba46c8..b72752d77d 100644 --- a/doc/go1.17.html +++ b/doc/go1.17.html @@ -811,8 +811,8 @@ func Foo() bool { <p><!-- CL 311129 --> The concrete image types (<code>RGBA</code>, <code>Gray16</code> and so on) now implement a new <a href="/pkg/image/#RGBA64Image"><code>RGBA64Image</code></a> - interface. Those concrete types, other than the chroma-subsampling - related <code>YCbCr</code> and <code>NYCbCrA</code>, also now implement + interface. The concrete types that previously implemented + <a href="/pkg/image/draw/#Image"><code>draw.Image</code></a> now also implement <a href="/pkg/image/draw/#RGBA64Image"><code>draw.RGBA64Image</code></a>, a new interface in the <code>image/draw</code> package. </p> |