Is there an easy way to shift everything that has been drawn inside the CANVAS together by a certain horizontal or vertical distance( displacement ) ?
Similar to the MOVE command in drawing programs .
Is there an easy way to shift everything that has been drawn inside the CANVAS together by a certain horizontal or vertical distance( displacement ) ?
Similar to the MOVE command in drawing programs .
You would need to record everything that is drawn into a list, then add/subtract your x/y "displacement" to each set of coordinates drawn. Then clear the canvas, then redraw using your new set of coordinates.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.