| net.refractions.udig.project.ui.commands.AbstractDrawCommand net.refractions.udig.tools.edit.commands.DrawPointCommand
DrawPointCommand | public class DrawPointCommand extends AbstractDrawCommand implements MapMouseMotionListener(Code) | | Draws each vertex point as a rectangle. Listens to mouse events as long as valid and fills vertext when
cursor is over a vertex.
author: jones since: 1.1.0 |
Field Summary | |
IPreferenceStore | store |
store | IPreferenceStore store(Code) | | |
getOutline | public Color getOutline()(Code) | | Returns the outline. |
getRadius | public int getRadius()(Code) | | Returns the radius. |
getRadiusDelta | public int getRadiusDelta()(Code) | | Returns the radiusDelta. |
getSelectionFill | public Color getSelectionFill()(Code) | | Returns the selectionFill. |
setDrawCurrentShape | public void setDrawCurrentShape(boolean b)(Code) | | |
setFill | public void setFill(Color fill)(Code) | | Default is Color( 255,168,168,188 )
Parameters: fill - The fill to set. |
setOutline | public void setOutline(Color outline)(Code) | | Default is Black
Parameters: outline - The outline to set. |
setRadius | public void setRadius(int radius)(Code) | | Default is 3.
Parameters: radius - The radius to set. |
setRadiusDelta | public void setRadiusDelta(int radiusDelta)(Code) | | Default is 1.
Parameters: width_rad - The radiusDelta to set. |
setSelectionFill | public void setSelectionFill(Color selectionFill)(Code) | | Parameters: selectionFill - The selectionFill to set. |
setValid | public void setValid(boolean valid)(Code) | | |
|
|