Skip to content

Commit 3e6890a

Browse files
Add image.context to image.md
1 parent 48d082c commit 3e6890a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

api/image.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@ local cel = image.cel
126126
Returns the [cel](cel.md#cel) to which this image belongs or `nil` if this
127127
image is not associated to a cel.
128128

129+
## Image.context
130+
131+
```lua
132+
local gc = image.context
133+
```
134+
135+
The [GraphicsContext](graphicscontext.md#graphicscontext) object for this image.
136+
129137
## Image.bytes
130138

131139
```lua

0 commit comments

Comments
 (0)