paintWithPattern abstract method

void paintWithPattern(
  1. Canvas canvas,
  2. double x,
  3. double y,
  4. double width,
  5. double height,
)

After clipping the canvas to the shape we want, paint the Pattern on the rectangle defined by the provided x, y, width, height.

Implementation

void paintWithPattern(
    Canvas canvas, double x, double y, double width, double height);