Graphic
Help Contents
Graphics
Drawing filled shapes
Graphic
Graphic commandlist
outputs a new Graphic, that can be assigned to a variable, and later be drawn by drawGraphic. All the graphic commands written to the screen performed by commandlist are recorded to it.
It is recommended to use the primitive Graphic instead of GraphicStart..GraphicEnd, because so you cannot forget GraphicEnd, when i.e. leaving a loop with break, or leaving a procedure with output or stop.
Example:
Examples:
References:
TurtleShapes(3), setTurtleShapes(3), GraphicStart(2), Release Notes for Version 4.7(2), drawGraphic(2), helpsearch(2), runSecure(2), GraphicEnd, Projection Matrix, Release Notes for Version 4.685, Shadows, saveScreenVector, setUpdateGraph, standout