dart / 2 / dart-math / point / point.html

Point<T extends num> constructor

const Point<T extends num>(
  1. T x,
  2. T y
)

Creates a point with the provided x and y coordinates.

Implementation

const Point(T x, T y)
    : this.x = x,
      this.y = y;

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-math/Point/Point.html