Skip to main content

ScreenSpaceCanvas.RelativeHorizontalCoordinate

Package: velox.api.layer1.layers.strategies.interfaces

Type: Class (static)

Enclosing Interface: ScreenSpaceCanvas

Inheritance: java.lang.Object รขโ€ โ€™ ScreenSpaceCanvas.RelativeHorizontalCoordinate

All Implemented Interfaces: ScreenSpaceCanvas.HorizontalCoordinate

Direct Known Subclasses: ScreenSpaceCanvas.RelativeDataHorizontalCoordinate, ScreenSpaceCanvas.RelativePixelHorizontalCoordinate

Descriptionโ€‹

Horizontal coordinate offset in a certain way relative to base point

Fieldsโ€‹

HORIZONTAL_DATA_ZEROโ€‹

public static final ScreenSpaceCanvas.CompositeHorizontalCoordinate HORIZONTAL_DATA_ZERO

Corresponds to origin point of data

HORIZONTAL_PIXEL_ZEROโ€‹

public static final ScreenSpaceCanvas.CompositeHorizontalCoordinate HORIZONTAL_PIXEL_ZERO

Corresponds to leftmost pixel of canvas

baseโ€‹

public final ScreenSpaceCanvas.HorizontalCoordinate base

pixelsOffsetXโ€‹

public final int pixelsOffsetX

timeOffsetXโ€‹

public final long timeOffsetX

Constructorsโ€‹

RelativeHorizontalCoordinateโ€‹

public RelativeHorizontalCoordinate(ScreenSpaceCanvas.HorizontalCoordinate base, int pixelsOffsetX, long timeOffsetX)

Methodsโ€‹

composeโ€‹

public ScreenSpaceCanvas.CompositeHorizontalCoordinate compose()

Convert to ScreenSpaceCanvas.CompositeHorizontalCoordinate

Specified by: compose in interface ScreenSpaceCanvas.HorizontalCoordinate

Returns: Composite horizontal coordinate

toStringโ€‹

public String toString()

Overrides: toString in class Object