paintElements method

FutureOr<bool> paintElements(
  1. PCanvas pCanvas,
  2. List<PCanvasElement> elements,
  3. bool posPaint
)

Paint the elements.

Implementation

FutureOr<bool> paintElements(
    PCanvas pCanvas, List<PCanvasElement> elements, bool posPaint) {
  for (var e in elements) {
    e.paint(pCanvas);
  }
  return true;
}