kiyut.citra.canvas
Class FXSelectionModel
java.lang.Object
kiyut.citra.canvas.FXSelectionModel
public class FXSelectionModel
- extends Object
- Author:
- Kiyut
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timer
protected Timer timer
area
protected Area area
canvas
protected FXCanvas canvas
FXSelectionModel
public FXSelectionModel(FXCanvas canvas)
- Creates a new instance of FXSelectionModel
paint
public void paint(Graphics2D g2d)
- Paint the Selected Area
- Parameters:
g2d - Graphics2D
getSelectionArea
public Area getSelectionArea()
- Return a copy of selection Area, incase the area is modified externally
- Returns:
- Area
setSelectionArea
public void setSelectionArea(Area area)
- This methods take a copy of supplied parameter area, incase the area is modified
externally
- Parameters:
area - The Area
invertSelectionArea
public void invertSelectionArea()