Coord constructor
Creates a coordinate.
Implementation
Coord({
this.dimCount,
this.dimFill,
this.transposed,
this.color,
this.gradient,
}) : assert(dimCount == null || (dimCount >= 1 && dimCount <= 2)),
assert(isSingle([color, gradient], allowNone: true));