maxX property

double get maxX

Maximum X coordinate

Implementation

double get maxX {
  if (isEmpty) return 1.0;
  return map((p) => p.x).reduce((a, b) => math.max(a, b));
}