blob: 8c87ae821d3e0d0991113490b3eb042b15b882d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
---@class cc.AutoPolygon
local AutoPolygon={ }
cc.AutoPolygon=AutoPolygon
---* create an AutoPolygon and initialize it with an image file<br>
---* the image must be a 32bit PNG for current version 3.7<br>
---* param filename a path to image file, e.g., "scene1/monster.png".<br>
---* return an AutoPolygon object;
---@param filename string
---@return self
function AutoPolygon:AutoPolygon (filename) end
|