private bool PointOnSegment(SKLine line, SKPoint point) { return(LinearArithmetic.IsBetween(line.Point1.X, line.Point1.Y, line.Point2.X, line.Point2.Y, point.X, point.Y)); }
public bool OnLine(SKPoint point) { return(LinearArithmetic.IsBetween(Point1.X, Point1.Y, Point2.X, Point2.Y, point.X, point.Y)); }