Class OnlineCalculatable.Marker

java.lang.Object
velox.api.layer1.layers.strategies.interfaces.OnlineCalculatable.Marker
Enclosing interface:
OnlineCalculatable

public static class OnlineCalculatable.Marker extends Object
If passed as value it will cause marker to be drawn at that place.
  • Field Details

    • 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
  • Constructor Details

    • Marker

      public Marker(double markerY, int iconOffsetX, int iconOffsetY, BufferedImage icon)
      Creates new marker
      Parameters:
      markerY - value for markerY
      iconOffsetX - value for iconOffsetX
      iconOffsetY - value for iconOffsetY
      icon - value for icon. Icon will be cloned.
  • Method Details