© Alexandre Bergel 2022
A. BergelAgile Visualization with Pharohttps://doi.org/10.1007/978-1-4842-7161-2_6

6. The Roassal Canvas

Alexandre Bergel1  
(1)
Santiago, Chile
 

A visualization in Roassal is presented in a canvas. The canvas acts as a placeholder for graphical shapes, and shapes may be added to and removed from a canvas. The canvas is modeled using the RSCanvas class, and most of the operations related to a canvas are expressed using messages.

All the code provided in this chapter is available at https://github.com/bergel/AgileVisualizationAPressCode/blob/main/02-02-Canvas.txt.

Opening, Resizing, and Closing a Canvas

Creating and opening a canvas is central when using Roassal. A canvas is created using the RSCanvas new expression. A canvas is ...

Get Agile Visualization with Pharo: Crafting Interactive Visual Support Using Roassal now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.