Class ScreenSpaceCanvas.RelativeHorizontalCoordinate
java.lang.Object
velox.api.layer1.layers.strategies.interfaces.ScreenSpaceCanvas.RelativeHorizontalCoordinate
- All Implemented Interfaces:
ScreenSpaceCanvas.HorizontalCoordinate
- Direct Known Subclasses:
ScreenSpaceCanvas.RelativeDataHorizontalCoordinate,ScreenSpaceCanvas.RelativePixelHorizontalCoordinate
- Enclosing interface:
ScreenSpaceCanvas
public static class ScreenSpaceCanvas.RelativeHorizontalCoordinate
extends Object
implements ScreenSpaceCanvas.HorizontalCoordinate
Horizontal coordinate offset in a certain way relative to base point
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ScreenSpaceCanvas.CompositeHorizontalCoordinateCorresponds to origin point of datastatic final ScreenSpaceCanvas.CompositeHorizontalCoordinateCorresponds to leftmost pixel of canvasfinal intfinal long -
Constructor Summary
ConstructorsConstructorDescriptionRelativeHorizontalCoordinate(ScreenSpaceCanvas.HorizontalCoordinate base, int pixelsOffsetX, long timeOffsetX) -
Method Summary
-
Field Details
-
HORIZONTAL_DATA_ZERO
Corresponds to origin point of data -
HORIZONTAL_PIXEL_ZERO
Corresponds to leftmost pixel of canvas -
base
-
pixelsOffsetX
public final int pixelsOffsetX -
timeOffsetX
public final long timeOffsetX
-
-
Constructor Details
-
RelativeHorizontalCoordinate
public RelativeHorizontalCoordinate(ScreenSpaceCanvas.HorizontalCoordinate base, int pixelsOffsetX, long timeOffsetX)
-
-
Method Details
-
compose
Description copied from interface:ScreenSpaceCanvas.HorizontalCoordinate- Specified by:
composein interfaceScreenSpaceCanvas.HorizontalCoordinate
-
toString
-