Class LineTool
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.LineTool
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,EventListener
,ToolActivationListener
-
Field Summary
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
ConstructorDescriptionLineTool
(Canvas canvas, ColorSelector colorSelector, LayerPanel layerPanel, VersionManager versionManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
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, mouseEntered, mouseExited, mouseMoved, noSettings, setCanvas, setLayer, setLayerPanel, setToolPanelButton, toolActivationChanged, toolDisabled, toolEnabled
-
Constructor Details
-
LineTool
public LineTool(Canvas canvas, ColorSelector colorSelector, LayerPanel layerPanel, VersionManager versionManager)
-
-
Method Details
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
- Overrides:
mouseReleased
in classAbstractModificationTool
-
process
- Specified by:
process
in classAbstractTool
-