Class FloodFillTool
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.FloodFillTool
- 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
ConstructorDescriptionFloodFillTool
(Canvas canvas, ColorSelector colorSelector, VersionManager versionManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fillArea
(BufferedImage image, BufferedImage overlay, int x, int y, Color fill) void
fillGlobal
(BufferedImage image, BufferedImage overlay, int x, int y, Color fill) void
boolean
Methods inherited from class net.mcreator.ui.views.editor.image.tool.tools.AbstractModificationTool
mousePressed, mouseReleased
Methods inherited from class net.mcreator.ui.views.editor.image.tool.tools.AbstractTool
getCursor, getDescription, getHoverCursor, getIcon, getLayer, getName, getPropertiesPanel, getToolPanelButton, getUsingCursor, mouseClicked, mouseEntered, mouseExited, mouseMoved, noSettings, setCanvas, setLayer, setLayerPanel, setToolPanelButton, toolActivationChanged, toolDisabled, toolEnabled
-
Constructor Details
-
FloodFillTool
-
-
Method Details
-
process
- Specified by:
process
in classAbstractTool
-
mouseDragged
- Specified by:
mouseDragged
in interfaceMouseMotionListener
- Overrides:
mouseDragged
in classAbstractTool
-
fillArea
-
fillGlobal
-