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.HorizontalCoordinatebasestatic ScreenSpaceCanvas.CompositeHorizontalCoordinateHORIZONTAL_DATA_ZEROCorresponds to origin point of datastatic ScreenSpaceCanvas.CompositeHorizontalCoordinateHORIZONTAL_PIXEL_ZEROCorresponds to leftmost pixel of canvasintpixelsOffsetXlongtimeOffsetX -
Constructor Summary
Constructors Constructor Description RelativeHorizontalCoordinate(ScreenSpaceCanvas.HorizontalCoordinate base, int pixelsOffsetX, long timeOffsetX) -
Method Summary
Modifier and Type Method Description ScreenSpaceCanvas.CompositeHorizontalCoordinatecompose()
-
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
-