Update `forms.drawImageRegion` documentation with a diagram
only embeds on TASVideos Wiki, which I held off on updating because there are a lot of changes and we can do them all at once
This commit is contained in:
parent
8ee75879e6
commit
fd2772707b
|
@ -823,7 +823,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
[LuaMethodExample("forms.drawImageRegion( 334, \"C:\\image.bmp\", 11, 22, 33, 44, 21, 43, 34, 45 );")]
|
||||
[LuaMethod(
|
||||
"drawImageRegion",
|
||||
"draws a given region of an image file from the given path at the given coordinate, and optionally with the given size")]
|
||||
"Draws a region of the given image file at the given location on the canvas, and optionally resizes it before drawing. On the TASVideos Wiki, consult this diagram to see its usage: [https://user-images.githubusercontent.com/13409956/198868522-55dc1e5f-ae67-4ebb-a75f-558656cb4468.png|alt=Diagram showing how to use forms.drawImageRegion]")]
|
||||
public void DrawImageRegion(
|
||||
int componentHandle,
|
||||
[LuaArbitraryStringParam] string path,
|
||||
|
|
Loading…
Reference in New Issue