# Calculate arc parameters between two given points (x,y)

say i have two points (x,y) (10,10) and (100,100) how would i be able to calculate the width, height, startAngle and arcAngle (parameters for java.awt.graphics#drawArc), to draw an arc between those two points?