Table of Contents

Method DrawPie

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

DrawPie(Pen, PointD, float, float, float)

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, float radius, float startAngle, float 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 float

Defines the radius of the circle.

startAngle float

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

sweepAngle float

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