Update

Update

Update

Update

Update

Update

Update

Update

Update
This commit is contained in:
2025-05-04 20:46:46 +02:00
parent 169a514973
commit 8e28d1a570
38 changed files with 2668 additions and 89 deletions

36
ui/Path.lua Normal file
View File

@@ -0,0 +1,36 @@
---@meta
---@class Path : Animation
Path = {
--- Gets the number of control points in the path.
--- @return number count The number of control points.
--- @example
--- local count = myPath:GetNumControlPoints()
GetNumControlPoints = function(self) end,
--- Gets the curve type of the path.
--- @return string curveType The curve type ("NONE", "BEZIER").
--- @example
--- local curveType = myPath:GetCurveType()
GetCurveType = function(self) end,
--- Creates a new control point at the specified index.
--- @param index number The index to create the control point at.
--- @return ControlPoint point The created control point.
--- @example
--- local point = myPath:CreateControlPoint(1)
CreateControlPoint = function(self, index) end,
--- Gets a control point at the specified index.
--- @param index number The index of the control point.
--- @return ControlPoint point The control point.
--- @example
--- local point = myPath:GetControlPoint(1)
GetControlPoint = function(self, index) end,
--- Sets the curve type of the path.
--- @param curveType string The curve type ("NONE", "BEZIER").
--- @example
--- myPath:SetCurveType("BEZIER")
SetCurveType = function(self, curveType) end,
}