Class EraserTool
java.lang.Object
net.mcreator.ui.views.editor.image.tool.tools.AbstractTool
net.mcreator.ui.views.editor.image.tool.tools.AbstractModificationTool
net.mcreator.ui.views.editor.image.tool.tools.AbstractDrawingTool
net.mcreator.ui.views.editor.image.tool.tools.DrawingTool
net.mcreator.ui.views.editor.image.tool.tools.EraserTool
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,EventListener
,ToolActivationListener
-
Field Summary
Fields inherited from class net.mcreator.ui.views.editor.image.tool.tools.AbstractDrawingTool
aliasing, connect, first, prevPoint
Fields inherited from class net.mcreator.ui.views.editor.image.tool.tools.AbstractTool
canvas, colorSelector, description, icon, layer, layerPanel, name, processSuccess, settingsPanel, startSuccess, versionManager
-
Constructor Summary
ConstructorDescriptionEraserTool
(Canvas canvas, ColorSelector colorSelector, LayerPanel layerPanel, VersionManager versionManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Methods inherited from class net.mcreator.ui.views.editor.image.tool.tools.DrawingTool
doDrawing, getShapeDimension, mouseEntered, mouseExited, mouseMoved, mouseReleased, preProcess
Methods inherited from class net.mcreator.ui.views.editor.image.tool.tools.AbstractDrawingTool
process
Methods inherited from class net.mcreator.ui.views.editor.image.tool.tools.AbstractModificationTool
mousePressed
Methods inherited from class net.mcreator.ui.views.editor.image.tool.tools.AbstractTool
getCursor, getDescription, getHoverCursor, getIcon, getLayer, getName, getPropertiesPanel, getToolPanelButton, getUsingCursor, mouseClicked, mouseDragged, noSettings, setCanvas, setLayer, setLayerPanel, setToolPanelButton, toolActivationChanged
-
Constructor Details
-
EraserTool
public EraserTool(Canvas canvas, ColorSelector colorSelector, LayerPanel layerPanel, VersionManager versionManager)
-
-
Method Details
-
toolEnabled
- Specified by:
toolEnabled
in interfaceToolActivationListener
- Overrides:
toolEnabled
in classDrawingTool
-
toolDisabled
- Specified by:
toolDisabled
in interfaceToolActivationListener
- Overrides:
toolDisabled
in classDrawingTool
-