operator - method
Create new CustomPoint where x and y values are subtracted from
other
point x and y values
Implementation
@override
CustomPoint<T> operator -(math.Point other) {
return CustomPoint<T>((x - other.x) as T, (y - other.y) as T);
}
Create new CustomPoint where x and y values are subtracted from
other
point x and y values
@override
CustomPoint<T> operator -(math.Point other) {
return CustomPoint<T>((x - other.x) as T, (y - other.y) as T);
}