DocumentTools
Canvas
canvas document operations
Description
List of Commands in the Canvas Package
Compatibility
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:
AppendToCanvas
append to a canvas
GetCanvas
fetch a canvas from Maple Learn
GetMath
extract math from a canvas
Group
create a canvas group structure
Math
create a math structure with metadata
NewCanvas
create a canvas
Script
script canvas operations
ScriptButton
create a canvas button element
ShareCanvas
send a canvas to Maple Learn
ShowCanvas
insert a canvas
StaticPlot
create a canvas plot
TestButtonPress
simulate a button press
Text
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)