Table of Contents

Method DrawPie

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

DrawPie(Pen, PointD, double, double, double)

Draws an outline of a pie section defined by a circle specified by a center PointD and a radius.

void DrawPie(Pen pen, PointD center, double radius, double startAngle, double sweepAngle)

Parameters

pen Pen

Pen that determines the color, width, and style of the pie section.

center PointD

PointD structure that defines the center of the circle.

radius double

Defines the radius of the circle.

startAngle double

Angle in degrees measured clockwise from the x-axis to the first side of the pie section.

sweepAngle double

Angle in degrees measured clockwise from the startAngle parameter to the second side of the pie section.