Difference between revisions of "CSC111 Final Exam 2018"

From dftwiki3
Jump to: navigation, search
Line 102: Line 102:
 
* Note: To change the color of a '''line''' with the graphics library, you should use the '''setOutline()''' method rather than the '''setFill()''' method.  To change the '''width''' of a line, you can use the '''setWidth()''' method.
 
* Note: To change the color of a '''line''' with the graphics library, you should use the '''setOutline()''' method rather than the '''setFill()''' method.  To change the '''width''' of a line, you can use the '''setWidth()''' method.
 
* I used only 3 colors to generate the tree above: "green", "blue", and "brown".
 
* I used only 3 colors to generate the tree above: "green", "blue", and "brown".
 +
* The oranges have radius 10.
 
<br />
 
<br />
 
::<source lang="python">
 
::<source lang="python">

Revision as of 09:31, 2 May 2018

D. Thiebaut (talk) 11:39, 26 April 2018 (EDT)



...