paint abstract method

void paint(
  1. Canvas canvas,
  2. Path path,
  3. Paint basePaint,
  4. double animationValue,
)

Paints the animated connection effect on the canvas.

Parameters:

  • canvas: The canvas to draw on
  • path: The connection path (pre-computed and cached)
  • basePaint: The base paint object with color, stroke width, etc.
  • animationValue: The current animation value (0.0 to 1.0, repeating)

Implementations should use animationValue to create continuous animations. The value continuously cycles from 0.0 to 1.0.

Implementation

void paint(Canvas canvas, Path path, Paint basePaint, double animationValue);