User Guide

Ruby Component
The example below shows the four different wrap modes in action.
Transformations
You can rotate, translate or scale a TextureBrush after it has been created. To do this you use the following methods:
rotateTransform angle
translateTransform x, y
scaleTransform sf-x, sf-y
resetTransform
The rotation method takes an angle in Degrees. The translate method takes x and y offsets. The scale method takes x and y scale factors –
these are floats with 1.0 meaning no change. The resetTransform method does exactly what it says, it resets any applied transforms.
Here's an example showing how these all work:
140 of 212