Update
Update Update Update Update Update Update Update Update Update
This commit is contained in:
30
ui/Scale.lua
Normal file
30
ui/Scale.lua
Normal file
@@ -0,0 +1,30 @@
|
||||
---@meta
|
||||
|
||||
---@class Scale : Animation
|
||||
Scale = {
|
||||
--- Gets the origin point for the scaling.
|
||||
--- @return number x, number y The origin point coordinates.
|
||||
--- @example
|
||||
--- local x, y = myScale:GetOrigin()
|
||||
GetOrigin = function(self) end,
|
||||
|
||||
--- Gets the scale factors.
|
||||
--- @return number scaleX, number scaleY The x and y scale factors.
|
||||
--- @example
|
||||
--- local scaleX, scaleY = myScale:GetScale()
|
||||
GetScale = function(self) end,
|
||||
|
||||
--- Sets the origin point for the scaling.
|
||||
--- @param x number The x-coordinate of the origin point.
|
||||
--- @param y number The y-coordinate of the origin point.
|
||||
--- @example
|
||||
--- myScale:SetOrigin(0.5, 0.5)
|
||||
SetOrigin = function(self, x, y) end,
|
||||
|
||||
--- Sets the scale factors.
|
||||
--- @param scaleX number The x scale factor.
|
||||
--- @param scaleY number The y scale factor.
|
||||
--- @example
|
||||
--- myScale:SetScale(2.0, 2.0)
|
||||
SetScale = function(self, scaleX, scaleY) end,
|
||||
}
|
||||
Reference in New Issue
Block a user