mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-07 00:14:28 +01:00
Updated Cheat Sheet (markdown)
parent
4b69bc68be
commit
e7d1467556
@ -157,8 +157,6 @@ func (i *Image) Size() (width, height int)
|
|||||||
func (i *Image) SubImage(r image.Rectangle) image.Image
|
func (i *Image) SubImage(r image.Rectangle) image.Image
|
||||||
```
|
```
|
||||||
|
|
||||||
(This function was introduced at Ebiten 1.9.0-alpha)
|
|
||||||
|
|
||||||
`SubImage` returns an image representing the portion of the image p visible through r. The returned value shares pixels with the original image.
|
`SubImage` returns an image representing the portion of the image p visible through r. The returned value shares pixels with the original image.
|
||||||
|
|
||||||
The returned value is always `*ebiten.Image`.
|
The returned value is always `*ebiten.Image`.
|
||||||
|
Loading…
Reference in New Issue
Block a user