summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.AutoPolygon.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-22 21:05:36 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-22 21:05:36 +0800
commit52097b6ee7cc8f5a770eb851902560b5b8592218 (patch)
tree6dcbb53ac0104912e950747a37aac6b25039e862 /meta/3rd/Cocos4.0/cc.AutoPolygon.lua
parent6839cd530c53387df4d5db61f0cb2e5ed1a87298 (diff)
downloadlua-language-server-52097b6ee7cc8f5a770eb851902560b5b8592218.zip
add meta/3rd with acknowledgement
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.AutoPolygon.lua')
-rw-r--r--meta/3rd/Cocos4.0/cc.AutoPolygon.lua15
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