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 java.lang.Object implements ScreenSpaceCanvas.HorizontalCoordinate
Horizontal coordinate offset in a certain way relative to base point
-
Field Summary
Fields Modifier and Type Field Description ScreenSpaceCanvas.HorizontalCoordinate
base
static ScreenSpaceCanvas.CompositeHorizontalCoordinate
HORIZONTAL_DATA_ZERO
Corresponds to origin point of datastatic ScreenSpaceCanvas.CompositeHorizontalCoordinate
HORIZONTAL_PIXEL_ZERO
Corresponds to leftmost pixel of canvasint
pixelsOffsetX
long
timeOffsetX
-
Constructor Summary
Constructors Constructor Description RelativeHorizontalCoordinate(ScreenSpaceCanvas.HorizontalCoordinate base, int pixelsOffsetX, long timeOffsetX)
-
Method Summary
Modifier and Type Method Description ScreenSpaceCanvas.CompositeHorizontalCoordinate
compose()
-
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:
compose
in interfaceScreenSpaceCanvas.HorizontalCoordinate
-