Table of Contents

Method DrawArc

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

DrawArc(Pen, PointD, double, double, double)

Draws an arc representing a portion of a circle specified by a center PointD and a radius.

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

Parameters

pen Pen

Pen that determines the color, width, and style of the arc.

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 starting point of the arc.

sweepAngle double

Angle in degrees measured clockwise from the startAngle parameter to ending point of the arc.