public class SprayCanTool extends AbstractTool
Modifier and Type | Field and Description |
---|---|
static double |
PRIORITY |
Constructor and Description |
---|
SprayCanTool() |
Modifier and Type | Method and Description |
---|---|
void |
configure() |
int |
getDotSize() |
int |
getRate() |
int |
getWidth() |
void |
onMouseDown(MsPressedEvent evt)
On mouse down the delay counters are reset.
|
void |
onMouseDrag(MsDraggedEvent evt)
On mouse drag sometimes a point is drawn.
|
void |
onMouseUp(MsReleasedEvent evt)
On mouse up all resources are freed.
|
void |
setDotSize(int dotSize) |
void |
setRate(int rate) |
void |
setWidth(int width) |
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
activate, deactivate, getCursor, getDescription, isActiveInAppFrame, isAlwaysActive, onKeyDown, onKeyUp, onMouseClick, onMouseMove, onMouseWheel
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public static final double PRIORITY
public void onMouseDown(MsPressedEvent evt)
public void onMouseUp(MsReleasedEvent evt)
public void onMouseDrag(MsDraggedEvent evt)
public void configure()
public void setWidth(int width)
public void setRate(int rate)
public void setDotSize(int dotSize)
public int getWidth()
public int getRate()
public int getDotSize()
Copyright © 2014–2022 ImageJ. All rights reserved.