---@class cc.AutoPolygon
local AutoPolygon={ }
cc.AutoPolygon=AutoPolygon
---* create an AutoPolygon and initialize it with an image file
---* the image must be a 32bit PNG for current version 3.7
---* param filename a path to image file, e.g., "scene1/monster.png".
---* return an AutoPolygon object;
---@param filename string
---@return self
function AutoPolygon:AutoPolygon (filename) end