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 AbstractDrawingTool
aliasing, connect, first, prevPointFields inherited from class AbstractTool
canvas, colorSelector, description, icon, layer, layerPanel, name, processSuccess, settingsPanel, startSuccess, versionManager -
Constructor Summary
ConstructorsConstructorDescriptionEraserTool(Canvas canvas, ColorSelector colorSelector, LayerPanel layerPanel, VersionManager versionManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidMethods inherited from class DrawingTool
doDrawing, getShapeDimension, mouseEntered, mouseExited, mouseMoved, mouseReleased, preProcessMethods inherited from class AbstractDrawingTool
processMethods inherited from class AbstractModificationTool
mousePressedMethods inherited from class 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:
toolEnabledin interfaceToolActivationListener- Overrides:
toolEnabledin classDrawingTool
-
toolDisabled
- Specified by:
toolDisabledin interfaceToolActivationListener- Overrides:
toolDisabledin classDrawingTool
-