Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
package com.marginallyclever.makelangelo.makeart.turtletool;
import com.marginallyclever.makelangelo.turtle.Turtle;
public class FlipTurtleAction extends TurtleTool {
private final double scaleX,scaleY;
public FlipTurtleAction(double x,double y,String name) {
super(name);
scaleX=x;
scaleY=y;
}
@Override
public Turtle run(Turtle turtle) {
Turtle out = new Turtle(turtle);
out.scale(scaleX, scaleY);
return out;
}
}
3f1df20e1This file is pinned to the selected release. Download the original to open it in your design tool.