blob: 6aa221dd6536410ce41d0e7a0c6332f0dc4998ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---@meta
---@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
|