Interface Position
- All Known Implementing Classes:
Position.Dynamic,Position.Immutable,Position.Mutable
public interface Position
Created by brandon3055 on 24/08/2023
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic Positioncreate(double x, double y) static PositionCreates a new position, bound to the specified parent's position.static Positiondefault doubleReturns the position value for the given axis.default Positionoffset(double x, double y) doublex()doubley()
-
Method Details
-
x
double x() -
y
double y() -
offset
-
get
Returns the position value for the given axis. -
create
-
create
-
create
Creates a new position, bound to the specified parent's position.
-