Colshapes::newCircle: Difference between revisions
CocaColaBear (talk | contribs) No edit summary |
No edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{sharedFunctionJS}} | |||
Create a ColShape of circle in the 2D plane | |||
{{JSContainer| | |||
==Parameters== | ==Parameters== | ||
* '''x: | * '''x: {{RageType|Number}} in float | ||
* '''y: | * '''y: {{RageType|Number}} in float | ||
* '''radius: | * '''radius: {{RageType|Number}} in float | ||
* | * dimension: {{RageType|Number}} (optional parameter) | ||
==Syntax== | ==Syntax== | ||
< | <pre> | ||
mp.colshapes.newCircle(x, y, radius, dimension) | mp.colshapes.newCircle(x, y, radius, dimension) | ||
</ | </pre> | ||
==Example== | |||
<pre> | |||
// TODO | |||
</pre> | |||
}} | |||
==See Also== | ==See Also== | ||
{{Colshapes_function}} | {{Colshapes_function}} | ||
[[Category:ColShape API]] | |||
[[Category:Shared Function]] | |||
Latest revision as of 11:35, 3 December 2019
Create a ColShape of circle in the 2D plane
JavaScript Syntax
Parameters
- x: Number in float
- y: Number in float
- radius: Number in float
- dimension: Number (optional parameter)
Syntax
mp.colshapes.newCircle(x, y, radius, dimension)
Example
// TODO
See Also
- Functions
- Properties
- Arrays
- Functions