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 AbstractTool
canvas, colorSelector, description, icon, layer, layerPanel, name, processSuccess, settingsPanel, startSuccess, versionManager -
Constructor Summary
ConstructorsConstructorDescriptionFloodFillTool(Canvas canvas, ColorSelector colorSelector, VersionManager versionManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidfillArea(BufferedImage image, BufferedImage overlay, int x, int y, Color fill) voidfillGlobal(BufferedImage image, BufferedImage overlay, int x, int y, Color fill) voidbooleanMethods inherited from class AbstractModificationTool
mousePressed, mouseReleasedMethods inherited from class 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:
processin classAbstractTool
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener- Overrides:
mouseDraggedin classAbstractTool
-
fillArea
-
fillGlobal
-