-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.gui.effects.EffectFX,java.io.Serializable
public class DrawDot<P extends Position2D<out P>> extends AbstractEffect<P>
Simple effect that draws a black dot for each it.unibo.alchemist.model.interfaces.Node.
It's possible to set the size of the dots.
-
-
Field Summary
Fields Modifier and Type Field Description private RangedDoublePropertysize
-
Method Summary
Modifier and Type Method Description voidsetSize(Double size)Sets the value of the property sizeProperty.DoublePropertysizeProperty()The size of the dots representing each it.unibo.alchemist.model.interfaces.Node in the Environment specified when drawing. inthashCode()booleanequals(Object obj)-
Methods inherited from class it.unibo.alchemist.boundary.gui.effects.AbstractEffect
computeDrawCommands, getName, isVisible, setName, setVisibility -
Methods inherited from class it.unibo.alchemist.boundary.gui.effects.EffectFX
computeDrawCommands, setName, setVisibility -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DrawDot
DrawDot()
Empty constructor.
-
DrawDot
DrawDot(String name)
Default constructor.- Parameters:
name- the name of the effect.
-
-
Method Detail
-
setSize
void setSize(Double size)
Sets the value of the property
sizeProperty.- Parameters:
size- the size to set
-
sizeProperty
DoubleProperty sizeProperty()
The size of the dots representing each it.unibo.alchemist.model.interfaces.Node in the Environment specified when drawing.
-
hashCode
int hashCode()
-
-
-
-