Skip to main content

Canvas object

Canvas object represents a drawable area on a view.

Constructors

Constructor
mapper.view_elements.canvas()

Properties

NameDescription
Canvas.valueThe value associated with the canvas

Methods

NameDescription
Canvas:set_value()Set a value for the canvas
Canvas:get_value()Return the value associated with the canvas
Canvas:value_setter()Create a native-action to set a value for the canvas
Canvas:refresh()Redraw the canvas area
Canvas:refresher()Create a native-action to redraw the canvas area

See Also