addElement method
Adds an element
to this instances.
Implementation
@override
void addElement(PCanvasElement element) {
_elements.add(element);
element.parent = this;
_elements.sortByZIndex();
requestRepaint();
}
Adds an element
to this instances.
@override
void addElement(PCanvasElement element) {
_elements.add(element);
element.parent = this;
_elements.sortByZIndex();
requestRepaint();
}