New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Constructors

Initializes a new instance of the DonutSeriesDrawPart class.

C#
public DonutSeriesDrawPart(PieSeries series, IChartRenderer renderer)
Parameters:seriesPieSeries

The series.

rendererIChartRenderer

The renderer.

Methods

Constructs the donut graphics path.

C#
protected GraphicsPath ConstructDonutGraphicsPath(PieDataPoint point, RadRect modelLayoutSlot, float diameter)
Parameters:pointPieDataPoint

The point.

modelLayoutSlotRadRect

The model layout slot.

diameterfloat

The diameter.

Returns:

GraphicsPath

Constructs the graphics path.

C#
protected override GraphicsPath ConstructGraphicsPath(PieDataPoint point, RadRect modelLayoutSlot, float diameter)
Parameters:pointPieDataPoint

The point.

modelLayoutSlotRadRect

The model layout slot.

diameterfloat

The diameter.

Returns:

GraphicsPath

Overrides: PieSeriesDrawPart.ConstructGraphicsPath(PieDataPoint, RadRect, float)