curveTo

 

The purpose is to show how to draw a circle using a script and to the difference between the use of methods curveto and lineTo.

⇒ animation ⇐

1 - Set up movie sizes 600x400. Any Frame Rate and background color 'll fit.

2 - In Outline, select Scene_1. Enter the following script :

Remarks :
First define level which clip 'll be inserted in, centre (xc,yc), ray R then colors we 'll use (hexa)
With curveto, to understand what happens, watch out how the 4th is drawn.

A circle is drawn using param coordinates with 1000 points to get a fine resolution.

Conclusion : You can thus notice that using curveTo isn't a good way to proceed.

 


Si vous aimez le site

 

Select a language if you need :


Page chargée en 0.004 sec.

Dernière Modification : Mer 25 Janvier 2017 8:56
Copyright © 1999-2017 Jean-Paul Molina Tous droits réservés.

to Google