Creates an alignment.
The x and y arguments must not be null.
x
y
const Alignment(this.x, this.y) : assert(x != null), assert(y != null);