DocumentTools/Canvas/Group - Maple Help

DocumentTools[Canvas]

 Group
 create a canvas group structure

 Calling Sequence Group(contents) Group(contents, options)

Parameters

 contents - list of canvas elements position= - (optional) [x,y], "right", "below"

Description

 • The Group command is as part of a structure passed to NewCanvas in order to create a group collection when creating a canvas.

Examples

 > $\mathrm{with}\left(\mathrm{DocumentTools}:-\mathrm{Canvas}\right):$
 > $\mathrm{cv}≔\mathrm{NewCanvas}\left(\left[\left[\mathrm{Group}\left(\left[\mathrm{Math}\left({x}^{2},\mathrm{annotation}="Group 1"\right),{x}^{3}\right]\right),\mathrm{Group}\left(\left[\mathrm{Math}\left({y}^{2},\mathrm{annotation}="Group 2"\right),{y}^{3}\right]\right)\right]\right]\right):$
 > $\mathrm{ShowCanvas}\left(\mathrm{cv}\right)$
 > $\mathrm{ShareCanvas}\left(\mathrm{cv}\right)$

Compatibility

 • The DocumentTools[Canvas][Group] command was introduced in Maple 2021.