draw method

  1. @override
void draw(
  1. ChantContext ctxt
)
override

Paints this the element on Canvas attached to ctxt.

Implementation

@override
void draw(ChantContext ctxt) {
  updateBounds();
  for (var annotation in annotations) {
    annotation.draw(ctxt);
  }
  updateBounds(-1.0);
}