Table of Contents

Method DrawArc

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

DrawArc(Pen, PointD, float, float, float)

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

public override void DrawArc(Pen pen, PointD center, float radius, float startAngle, float 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 float

Defines the radius of the circle.

startAngle float

Angle in degrees measured clockwise from the x-axis to the starting point of the arc.

sweepAngle float

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