setPattern abstract method
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,
});