addElement method

  1. @override
void addElement(
  1. PCanvasElement2D element
)
override

Adds an element to this instances.

Implementation

@override
void addElement(PCanvasElement2D element) {
  _elements.add(element);
  element.parent = this;
}