public translate(x as Double, y as Double) as Void
Applies a translation to the current transform.
painter.translate(10.0, 20.0)