Methoden Delegates neu generiert

This commit is contained in:
ngb 2022-01-02 22:15:53 +01:00
parent 0a23851ce1
commit 29a240909c
1 changed files with 90 additions and 0 deletions

View File

@ -175,11 +175,101 @@ public class TurtleLayer extends Layer {
mainTurtle.moveTo(x, y);
}
public Color getFillColor() {
return mainTurtle.getFillColor();
}
public void setFillColor( Color color ) {
mainTurtle.setFillColor(color);
}
public void setFillColor( int gray ) {
mainTurtle.setFillColor(gray);
}
public void noFill() {
mainTurtle.noFill();
}
public void setFillColor( int gray, int alpha ) {
mainTurtle.setFillColor(gray, alpha);
}
public void setFillColor( int red, int green, int blue ) {
mainTurtle.setFillColor(red, green, blue);
}
public void setFillColor( int red, int green, int blue, int alpha ) {
mainTurtle.setFillColor(red, green, blue, alpha);
}
public void resetFill() {
mainTurtle.resetFill();
}
public Color getStrokeColor() {
return mainTurtle.getStrokeColor();
}
public void setStrokeColor( Color color ) {
mainTurtle.setStrokeColor(color);
}
public void setStrokeColor( int gray ) {
mainTurtle.setStrokeColor(gray);
}
public void noStroke() {
mainTurtle.noStroke();
}
public void setStrokeColor( int gray, int alpha ) {
mainTurtle.setStrokeColor(gray, alpha);
}
public void setStrokeColor( int red, int green, int blue ) {
mainTurtle.setStrokeColor(red, green, blue);
}
public void setStrokeColor( int red, int green, int blue, int alpha ) {
mainTurtle.setStrokeColor(red, green, blue, alpha);
}
public double getStrokeWeight() {
return mainTurtle.getStrokeWeight();
}
public void setStrokeWeight( double weight ) {
mainTurtle.setStrokeWeight(weight);
}
public Options.StrokeType getStrokeType() {
return mainTurtle.getStrokeType();
}
public void setStrokeType( Options.StrokeType type ) {
mainTurtle.setStrokeType(type);
}
public void resetStroke() {
mainTurtle.resetStroke();
}
public void addPosToPath() {
mainTurtle.addPosToPath();
}
public void closePath() {
mainTurtle.closePath();
}
// End of delegate methods (auto-generated)
public class Turtle extends FilledShape {
private static final int STD_SIZE = 12;
boolean penDown = true;
boolean visible = true;