mirrorOffset property

Offset mirrorOffset
final

Only applicable if repeat is Repeat.mirror, Repeat.mirrorX, or Repeat.mirrorY. Default is Offset.zero.

Valid values range 0..resolution. That is to say maximum value for this Offset.dx is the horizontal resolution of image while the max for this Offset.dy is this image's vertical resolution.

Corresponds to an additional translation to the canvas onto which this image is painted. For a mirror-tiling image, this has the effect of shifting the mirror edge seams.

This property replaces and functions similar to alignment when repeat is Repeat.mirror, Repeat.mirrorX, or Repeat.mirrorY, is currently only a workaround, and only truly acts as "alignment" if Repeat.mirror.

Implementation

final Offset mirrorOffset;