public Path AddArc(
float x,
float y,
float width,
float height,
float startAngle,
float sweepAngle
)
Public Function AddArc (
x As Single,
y As Single,
width As Single,
height As Single,
startAngle As Single,
sweepAngle As Single
) As Path
public:
Path^ AddArc(
float x,
float y,
float width,
float height,
float startAngle,
float sweepAngle
)
member AddArc :
x : float32 *
y : float32 *
width : float32 *
height : float32 *
startAngle : float32 *
sweepAngle : float32 -> Path
If the current figure is not empty or closed, the first point of the added arc will be connected to the last point of the figure.
The coordinates of the specified bounding rectangle are not validated here but in the moment of drawing the coordinates of the possibly transformed path points must fall into the bounds of an int value; otherwise, an OverflowException will be thrown.