mojo.graphics.Canvas.Translate - nitrologic/monkey2 GitHub Wiki
mojo::mojo.graphics.mojo.graphics.Canvas.Translate
monkey:monkey.types.Float,ty:monkey:monkey.types.Float )
Method Translate:Void( tx:std:std.geom.Vec2f )
Method Translate:Void( tv:Translates the drawing matrix.
Translates the drawing matrix. This has the effect of translating all drawing coordinates by tx
and ty
.
Parameters | |
---|---|
tx |
tx X translation. |
ty |
ty Y translation. |
tv |
tv X/Y translation. |