User Tools

Site Tools


blocks:drawing

Drawing

Note: Unlike the Pen commands, these blocks draw on the instance's costume, not on the stage. This allows instances to generate their costumes programmatically.

Blocks Description
Set the width and height of the costume
Fill the costume with a solid color
Draw a filled (solid) circle on the costume
Draw a filled (solid) rectangle on the costume
Draw a line on the costume between two points
Draw an image on the costume
Report a random color
Report the transparent color
Report the width of the costume
Report the height of costume
Set the font name to be used for drawing text
Report the current font height
Report the width of the given text
Draw the text on top of the current costume
blocks/drawing.txt · Last modified: 2017/09/30 09:03 (external edit)