kiyut.citra.canvas
Class AbstractFXContext
java.lang.Object
kiyut.citra.canvas.AbstractFXContext
- All Implemented Interfaces:
- FXContext
- Direct Known Subclasses:
- FXContextManager
public abstract class AbstractFXContext
- extends Object
- implements FXContext
Abstract implementation of FXContext
- Author:
- Kiyut
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
canvas
protected FXCanvas canvas
tool
protected FXTool tool
interactor
protected FXTool interactor
filterMode
protected boolean filterMode
selectionStroke1
protected Stroke selectionStroke1
selectionStrokePaint1
protected Paint selectionStrokePaint1
selectionStroke2
protected Stroke selectionStroke2
selectionStrokePaint2
protected Paint selectionStrokePaint2
toolOverlayStrokePaint
protected Paint toolOverlayStrokePaint
toolOverlayFillPaint
protected Paint toolOverlayFillPaint
filter
protected FXFilter filter
AbstractFXContext
public AbstractFXContext()
setCanvas
public void setCanvas(FXCanvas canvas)
- Specified by:
setCanvas in interface FXContext
getCanvas
public FXCanvas getCanvas()
- Specified by:
getCanvas in interface FXContext
getSelectionStrokePaint1
public Paint getSelectionStrokePaint1()
- Specified by:
getSelectionStrokePaint1 in interface FXContext
getSelectionStroke1
public Stroke getSelectionStroke1()
- Specified by:
getSelectionStroke1 in interface FXContext
getSelectionStrokePaint2
public Paint getSelectionStrokePaint2()
- Specified by:
getSelectionStrokePaint2 in interface FXContext
getSelectionStroke2
public Stroke getSelectionStroke2()
- Specified by:
getSelectionStroke2 in interface FXContext
getToolOverlayStrokePaint
public Paint getToolOverlayStrokePaint()
- Specified by:
getToolOverlayStrokePaint in interface FXContext
getToolOverlayFillPaint
public Paint getToolOverlayFillPaint()
- Specified by:
getToolOverlayFillPaint in interface FXContext
setFilter
public void setFilter(FXFilter filter)
- Specified by:
setFilter in interface FXContext
getFilter
public FXFilter getFilter()
- Specified by:
getFilter in interface FXContext
setFilterMode
public void setFilterMode(boolean filterMode)
- Specified by:
setFilterMode in interface FXContext
isFilterMode
public boolean isFilterMode()
- Specified by:
isFilterMode in interface FXContext
setTool
public void setTool(FXTool tool)
- Specified by:
setTool in interface FXContext
getTool
public FXTool getTool()
- Specified by:
getTool in interface FXContext