diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.AutoPolygon.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/cc.AutoPolygon.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.AutoPolygon.lua b/meta/3rd/Cocos4.0/cc.AutoPolygon.lua new file mode 100644 index 00000000..8c87ae82 --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.AutoPolygon.lua @@ -0,0 +1,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
\ No newline at end of file |