13
3.2 Drawing
Drawing Order
Most drawing blocks have an option to show ‘previous’ and ‘next’ ports. Next ports output a
Boolean when the drawing block is finished to enable the next block to begin drawing. This ensures
order which is important when an element is meant to overlap another.
Figure 3.2.1.a – Previous and Next Ports
As shown in figure 3.2.1.a, to draw one element on top of another, simply put the next port of
the element that goes on bottom into the previous port of the element that goes on top.
Standard Drawing Blocks
There are ten standard drawing blocks that cover everything from drawing and filling in
differently shaped regions, to writing text to the screen. As an aid, all of these blocks show a sample of
their selected color on the mask when the color value is set directly in the block (as opposed to taken
from a port.)
Draw Arc
Draws an arc of a specified color, thickness, and radius from one angle to another.