removeElement method

  1. @override
bool removeElement(
  1. PCanvasElement2D element
)
override

Removes element from this instance.

Implementation

@override
bool removeElement(PCanvasElement2D element) {
  var rm = _elements.remove(element);
  if (rm) {
    element.parent = null;
  }
  return rm;
}