Alignment constructor

const Alignment(double x, double y)

Creates an alignment.

The x and y arguments must not be null.

Implementation

const Alignment(this.x, this.y)
  : assert(x != null),
    assert(y != null);