Table of Contents

Method FillPie

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

FillPie(Brush, PointD, float, float, float)

Fills the interior of a pie section defined by a circle specified by a center PointD and a radius.

public override void FillPie(Brush brush, PointD center, float radius, float startAngle, float sweepAngle)

Parameters

brush Brush

Brush that determines the characteristics of the fill.

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.