Class OnlineCalculatable.Marker
java.lang.Object
velox.api.layer1.layers.strategies.interfaces.OnlineCalculatable.Marker
- Enclosing interface:
- OnlineCalculatable
If passed as value it will cause marker to be drawn at that place.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BufferedImageImage used as markerfinal intX component of icon offset.final intY component of icon offset.final doubleVertical position of marker (price / pips) -
Constructor Summary
ConstructorsConstructorDescriptionMarker(double markerY, int iconOffsetX, int iconOffsetY, BufferedImage icon) Creates new marker -
Method Summary
-
Field Details
-
markerY
public final double markerYVertical position of marker (price / pips) -
iconOffsetX
public final int iconOffsetXX 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 iconOffsetYY 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
Image used as marker
-
-
Constructor Details
-
Marker
Creates new marker- Parameters:
markerY- value formarkerYiconOffsetX- value foriconOffsetXiconOffsetY- value foriconOffsetYicon- value foricon. Icon will be cloned.
-
-
Method Details