A number of different types of transform exist. You can specify a range of transforms for any object you are drawing, applying them to text, pictures, shapes and lines. For instance:

  • You can rotate an object a number of degrees around a point.
  • You can translate (move) an object.
  • You can scale or stretch an object.
  • You can skew an object (a shear or perspective type of operation).

Any drawable object can be transformed, but be careful about the order you apply transforms as this can result in objects being 'lost' off the edge of your Bitmap.

In the examples below the light blue area represents the Bitmap we are drawing on. Areas outside the Bitmap are shown to illustrate how objects may be fully or partially 'lost' outside the Bitmap.

For instance if you first move an object right (1) and then rotate it by 45 degrees round the origin (2),

the effect can be completely different from rotating the object and then moving it.