From 04fa96b7c0abba4d7cca03ed12ff3b65b3912e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sat, 13 Aug 2022 01:23:32 +0800 Subject: fix #1431 --- meta/3rd/Cocos4.0/library/ccs/PositionFrame.lua | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 meta/3rd/Cocos4.0/library/ccs/PositionFrame.lua (limited to 'meta/3rd/Cocos4.0/library/ccs/PositionFrame.lua') diff --git a/meta/3rd/Cocos4.0/library/ccs/PositionFrame.lua b/meta/3rd/Cocos4.0/library/ccs/PositionFrame.lua new file mode 100644 index 00000000..c9aa38be --- /dev/null +++ b/meta/3rd/Cocos4.0/library/ccs/PositionFrame.lua @@ -0,0 +1,39 @@ +---@meta + +---@class ccs.PositionFrame :ccs.Frame +local PositionFrame={ } +ccs.PositionFrame=PositionFrame + + + + +---* +---@return float +function PositionFrame:getX () end +---* +---@return float +function PositionFrame:getY () end +---* +---@param position vec2_table +---@return self +function PositionFrame:setPosition (position) end +---* +---@param x float +---@return self +function PositionFrame:setX (x) end +---* +---@param y float +---@return self +function PositionFrame:setY (y) end +---* +---@return vec2_table +function PositionFrame:getPosition () end +---* +---@return self +function PositionFrame:create () end +---* +---@return ccs.Frame +function PositionFrame:clone () end +---* +---@return self +function PositionFrame:PositionFrame () end \ No newline at end of file -- cgit v1.2.3