timelinefx:timelinefx.CreateCircle
Create a tlCircle
Returns New tlLine
Create a new tlCircle at the given coordinates with the given radius. The coordinates will represent the center of the circle. Use layer to specify a particular layer
to place the box on so that you can more easily organise your collisions. You use 0, 1..and so on up to 31.
to place the boundary on all layers.
@example
Local box:=CreateCircle(100, 100, 50, 0)
@end
| Parameters |
|
x |
Top left y coordinate |
y |
Top Left x coordinate |
radius |
Radius of the circle |
layer |
The layer that the circle is on, used for quadtrees |
data |
any Object associated with the box |