toIntPoint method

Point<int> toIntPoint()

Cast the object to a Point object with integer values

Implementation

Point<int> toIntPoint() => Point<int>(x.toInt(), y.toInt());