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