public interface Interpolator2D<T extends Type<T>> extends Interpolator<T>
Modifier and Type | Method and Description |
---|---|
float |
getX()
Returns the current x coordinate of the interpolator
|
float |
getY()
Returns the current y coordinate of the interpolator
|
void |
moveRel(float x,
float y)
Moves the interpolator a certain distance given by the vector to a random position inside or out of image bounds.
|
void |
moveTo(float x,
float y)
Moves the interpolator to a random position inside or out of image bounds.
|
void |
setPosition(float x,
float y)
Sets the interpolator to a random position inside or out of image bounds.
|
close, getImage, getInterpolatorFactory, getOutOfBoundsStrategyFactory, getPosition, getPosition, getType, moveRel, moveRel, moveTo, moveTo, setPosition, setPosition
void moveTo(float x, float y)
float
- x - the float position in xfloat
- y - the float position in yvoid moveRel(float x, float y)
float
- x - the float vector in xfloat
- y - the float vector in yvoid setPosition(float x, float y)
float
- x - the float position in xfloat
- y - the float position in yfloat getX()
float getY()
Copyright © 2015–2021 Fiji. All rights reserved.