mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
graphics: Fix documents about At
This commit is contained in:
parent
61156dd90e
commit
c8cc98e307
4
image.go
4
image.go
@ -547,8 +547,8 @@ func (i *Image) ColorModel() color.Model {
|
|||||||
//
|
//
|
||||||
// At always returns a transparent color if the image is disposed.
|
// At always returns a transparent color if the image is disposed.
|
||||||
//
|
//
|
||||||
// Note that important logic should not rely on At result since
|
// Note that important logic should not rely on values returned by At, since
|
||||||
// At might include a very slight error on some machines.
|
// the returned values can include very slight differences between some machines.
|
||||||
//
|
//
|
||||||
// At can't be called outside the main loop (ebiten.Run's updating function) starts (as of version 1.4.0-alpha).
|
// At can't be called outside the main loop (ebiten.Run's updating function) starts (as of version 1.4.0-alpha).
|
||||||
func (i *Image) At(x, y int) color.Color {
|
func (i *Image) At(x, y int) color.Color {
|
||||||
|
Loading…
Reference in New Issue
Block a user