public abstract class AbstractFXContext extends Object implements FXContext
| Modifier and Type | Field and Description |
|---|---|
protected FXCanvas |
canvas |
protected FXFilter |
filter |
protected boolean |
filterMode |
protected FXTool |
interactor |
protected Stroke |
selectionStroke1 |
protected Stroke |
selectionStroke2 |
protected Paint |
selectionStrokePaint1 |
protected Paint |
selectionStrokePaint2 |
protected FXTool |
tool |
protected Paint |
toolOverlayFillPaint |
protected Paint |
toolOverlayStrokePaint |
| Constructor and Description |
|---|
AbstractFXContext() |
| Modifier and Type | Method and Description |
|---|---|
FXCanvas |
getCanvas() |
FXFilter |
getFilter() |
Stroke |
getSelectionStroke1() |
Stroke |
getSelectionStroke2() |
Paint |
getSelectionStrokePaint1() |
Paint |
getSelectionStrokePaint2() |
FXTool |
getTool() |
Paint |
getToolOverlayFillPaint() |
Paint |
getToolOverlayStrokePaint() |
boolean |
isFilterMode() |
void |
setCanvas(FXCanvas canvas) |
void |
setFilter(FXFilter filter) |
void |
setFilterMode(boolean filterMode) |
void |
setTool(FXTool tool) |
protected FXCanvas canvas
protected FXTool tool
protected FXTool interactor
protected boolean filterMode
protected Stroke selectionStroke1
protected Paint selectionStrokePaint1
protected Stroke selectionStroke2
protected Paint selectionStrokePaint2
protected Paint toolOverlayStrokePaint
protected Paint toolOverlayFillPaint
protected FXFilter filter
public Paint getSelectionStrokePaint1()
getSelectionStrokePaint1 in interface FXContextpublic Stroke getSelectionStroke1()
getSelectionStroke1 in interface FXContextpublic Paint getSelectionStrokePaint2()
getSelectionStrokePaint2 in interface FXContextpublic Stroke getSelectionStroke2()
getSelectionStroke2 in interface FXContextpublic Paint getToolOverlayStrokePaint()
getToolOverlayStrokePaint in interface FXContextpublic Paint getToolOverlayFillPaint()
getToolOverlayFillPaint in interface FXContextpublic void setFilterMode(boolean filterMode)
setFilterMode in interface FXContextpublic boolean isFilterMode()
isFilterMode in interface FXContext