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