Canvas

Used within 2D interactions to easily pass data back and forth to the Salesforce system

Canvas has the following properties that can be utilized within a Lightning flow or to pre-populate the 2D Component with Data

Name

id

Type

string

Description

the unique id for this element

Name

name

Type

string

Description

The name of the item defined during template creation

Name

backgroundImageURL

Type

string

Description

the background image (if applied)

Name

placedClickableShapes

Type

List<RDraw.BaseCanvasItem>

Description

A list of clickable shapes, and their locations if added to the canvas

Name

placedDroppableAreas

Type

List<RDraw.DroppableArea>

Description

A list of droppable areas in order from left to right top to bottom that also includes elements that were placed in the area by the order in which they were placed

Name

placedDraggableItems

Type

List<RDraw.BaseCanvasItem>

Description

A list of all of the Draggable items placed on the Canvas that are not related to a given Droppable Area

Name

placedLayoutAreas

Type

List<RDraw.BaseCanvasItem>

Description

A list of layout areas and their related records

Name

placedLayoutWalls

Type

List<RDraw.LayoutWall>

Description

A list of walls with their points added to the

Last updated