App
CropImageCommand.java
Go to the documentation of this file.
1 package mhr.appcore.commands.core;
2 
3 import mhr.appcore.AppCore;
4 import mhr.appcore.commands.AppCommand;
5 import mhr.appcore.utils.Rect;
6 
10 public class CropImageCommand extends AppCommand {
11 
12  protected Rect r;
13 
19  this.r = r;
20  }
21 
22  @Override
23  protected void action(AppCore target) {
24  target.cropImage(r);
25  }
26 
27 }