- Source: src/curves/typedefs/index.js (Line 7)
Type Definitions
-
EllipseCurveConfig
-
Type:
- object
- Source: src/curves/typedefs/EllipseCurveConfig.js (Line 1)
Properties:
Name Type Argument Default Description xnumber <optional>
0 The x coordinate of the ellipse.
ynumber <optional>
0 The y coordinate of the ellipse.
xRadiusnumber <optional>
0 The horizontal radius of the ellipse.
yRadiusnumber <optional>
0 The vertical radius of the ellipse.
startAnglenumber <optional>
0 The start angle of the ellipse, in degrees.
endAnglenumber <optional>
360 The end angle of the ellipse, in degrees.
clockwiseboolean <optional>
false Sets if the the ellipse rotation is clockwise (true) or anti-clockwise (false)
rotationnumber <optional>
0 The rotation of the ellipse, in degrees.
-
JSONCurve
-
Type:
- object
- Since: 3.0.0
- Source: src/curves/typedefs/JSONCurve.js (Line 1)
Properties:
Name Type Description typestring The of the curve
pointsArray.<number> The arrays of points like
[x1, y1, x2, y2] -
JSONEllipseCurve
-
Type:
- object
- Since: 3.0.0
- Source: src/curves/typedefs/JSONEllipseCurve.js (Line 1)
Properties:
Name Type Description typestring The of the curve.
xnumber The x coordinate of the ellipse.
ynumber The y coordinate of the ellipse.
xRadiusnumber The horizontal radius of ellipse.
yRadiusnumber The vertical radius of ellipse.
startAnglenumber The start angle of the ellipse, in degrees.
endAnglenumber The end angle of the ellipse, in degrees.
clockwiseboolean Sets if the the ellipse rotation is clockwise (true) or anti-clockwise (false)
rotationnumber The rotation of ellipse, in degrees.
-
JSONPath
-
Type:
- object
- Since: 3.0.0
- Source: src/curves/typedefs/JSONPath.js (Line 1)
Properties:
Name Type Description typestring The of the curve.
xnumber The X coordinate of the curve's starting point.
ynumber The Y coordinate of the path's starting point.
autoCloseboolean The path is auto closed.
curvesArray.<Phaser.Types.Curves.JSONCurve> The list of the curves
