setPattern abstract method

void setPattern(
  1. ImageProvider image, {
  2. required double scale,
})

Sets pattern to fill polygon. @attention Original linear sizes of pattern should be equal to power of 2. @attention Fill color is ignored if pattern is set.

Implementation

void setPattern(
  image_provider.ImageProvider image, {
  required core.double scale,
});