axmol/cocos/scripting/lua-bindings/auto/api/AutoPolygon.lua

17 lines
531 B
Lua

--------------------------------
-- @module AutoPolygon
-- @parent_module cc
--------------------------------
-- 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;
-- @function [parent=#AutoPolygon] AutoPolygon
-- @param self
-- @param #string filename
-- @return AutoPolygon#AutoPolygon self (return value: cc.AutoPolygon)
return nil