Search
Graphics.drawPie Method
See Also
 






Draws a pie.

Namespace: MindFusion.Drawing
File: Graphics.js

 Syntax

JavaScript  Copy Code

function drawPie (pen, rect, radius, startAngle, endAngle, [doughnut])

 Parameters

pen

The pen to stroke the pie with.

rect

The bounds of the pie.

radius

The radius of the pie.

startAngle

The startAngle of the pie.

endAngle

The endAngle of the pie.

doughnut
Optional.

True if the pie should be a doughnut, otherwise false.

 See Also