endAngle don't need assign twice