gets the end point of the path element
@override Offset get end => relative ? Offset(startPoint.dx + endPoint.dx, startPoint.dy + endPoint.dy) : Offset(endPoint.dx, endPoint.dy);