paintIntoCanvas method

  1. @override
void paintIntoCanvas(
  1. Canvas targetCanvas,
  2. DrawingParameters? parentDrawingParameters
)
override

Implementation

@override
void paintIntoCanvas(
    Canvas targetCanvas, DrawingParameters? parentDrawingParameters) {
  DrawingParameters usedDrawingParameters =
      mergeDrawingParameters(drawingParameters!, parentDrawingParameters);

  children!.forEach((VectorDrawableElement currentChild) {
    currentChild.paintIntoCanvas(targetCanvas, usedDrawingParameters);
  });
}