Shiny Language Reference

Language Reference > Drawing Functions


Drawing Functions

These statements draw directly into the display panel

 

drawline - Draws a line between 2 points

drawrect - Draws a hollow rectangle

drawellipse - Draws a filled or hollow ellipse

fillrect - Draws a solid (filled) rectangle

floodfill - Performs a floodfill operation

createpen - Creates a pen of a specified style, width and colour for drawing

selectpen - Selects a pen for future drawing operations

setpencol - Sets the RGB colour of a previously created pen