OnlineCalculatable.Marker
Package: velox.api.layer1.layers.strategies.interfaces
Type: Class
Enclosing Interface: OnlineCalculatable
Inheritance: java.lang.Object รขโ โ OnlineCalculatable.Marker
Descriptionโ
If passed as value it will cause marker to be drawn at that place.
Fieldsโ
markerYโ
public final double markerY
Vertical position of marker (price / pips)
iconOffsetXโ
public final int iconOffsetX
X component of icon offset. This allows you to position marker accordingly to it's content (e.g. right arrow will probably have this field equal to icon width)
iconOffsetYโ
public final int iconOffsetY
Y component of icon offset. This allows you to position marker accordingly to it's content (e.g. down arrow will probably have this field equal to icon height)
iconโ
public final BufferedImage icon
Image used as marker
Constructorsโ
Markerโ
public Marker(double markerY, int iconOffsetX, int iconOffsetY, BufferedImage icon)
Creates new marker
Parameters:
markerY- Value formarkerYiconOffsetX- Value foriconOffsetXiconOffsetY- Value foriconOffsetYicon- Value foricon. Icon will be cloned.
Methodsโ
toStringโ
public String toString()
Overrides: toString in class Object