Difference between revisions of "Activities/Turtle Art/Pen"

From Sugar Labs
Jump to navigation Jump to search
(New page: <noinclude>{{Translations | english | español |}}</noinclude> <noinclude>{{ GoogleTrans-en | es =show | bg =show | zh...)
(No difference)

Revision as of 20:31, 17 March 2009

english | español | HowTo [ID# 22692] 


The Pen Palette (cyan)

examples (2)

TA-pensize-example.png TA-pencolor-example.png TA-penshade-example.png TA-fill-example.png

descriptions (2)

TA-penup.svg Pen Up turtle will not draw when moved
TA-pendn.svg Pen Down turtle will draw when moved
TA-setpensize.png Set Pen Size (number) set size of the line drawn by the turtle
TA-setpencolor.png Set Pen Color (number) set color of the line drawn by the turtle
TA-setpenshade.png Set Pen Shade (number) set shade of the line drawn by the turtle
TA-settextcolor.png Set Text Color (number) set color of text drawn by the turtle
TA-penfill.png Fill Screen(color,shade) fills the background with (color, shade)
TA-pensize.svg Pen size
TA-pencolor.svg Pen color
TA-penshade.svg Pen shade

Colors and shades are represented by a number from 0 through 99. Using a number outside of this range is allowed, and will cause the value to be "wrapped around" (via a modulo, or "clock arithmetic" operation) to the 0 – 99 range. Color specifies a hue and shade specifies an admixture of white or black to the color.