canvas document operations
List of Commands in the Canvas Package
A "canvas" is both (1) a document template where math can be inserted and acted upon by button clicks within Maple, and (2) the document environment used by Maple Learn.
The NewCanvas and ShowCanvas commands can be used to construct and display math and text content organized in a grid layout. When a ScriptButton is present, additional controls and blank entry boxes are available for user input. Using Script actions the math and text can be modified and/or annotated.
In scenario (1), the canvas is viewed and interacted with directly inside a Maple document. In scenario (2), the ShareCanvas command is used to send the canvas to Maple Learn, where it can be viewed and interacted with inside a web browser.
The following is a list of commands within the Canvas subpackage of DocumentTools:
append to a canvas
fetch a canvas from Maple Learn
extract math from a canvas
create a canvas group structure
create a math structure with metadata
create a canvas
script canvas operations
create a canvas button element
send a canvas to Maple Learn
insert a canvas
create a canvas plot
simulate a button press
create a text structure with metadata
The DocumentTools[Canvas] package was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
Download Help Document
What kind of issue would you like to report? (Optional)