+ # some image to act as a texture
+ my $txim = Imager->new(...);
+
+ # simple tiling
+ my $fill = Imager::Fill->new(image => $txim);
+
+ # tile with a vertical offset
+ my $fill = Imager::Fill->new(image => $txim, yoff => 10);
+
+ # tile with a horizontal offset
+ my $fill = Imager::Fill->new(image => $txim, xoff => 10);
+
+ # rotated
+ use Imager::Matrix2d;
+ my $fill = Imager::Fill->new(image => $txim,
+ matrix => Imager::Matrix2d->rotate(degrees => 20));
+