deltaX

public abstract Float deltaX(Float x)

Calculates the difference between the current x-coordinate and the target x-coordinate.

Return

The calculated value.

Parameters

x

The target x-coordinate.


public abstract Float deltaX(ImmutablePosition position)

Calculates the difference between the current x and the target position's x-coordinate.

Return

The calculated value.

Parameters

position

The target position.