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