New to Telerik UI for WinForms? Start a free 30-day trial

Creates a gauge-shaped annular sector using the background's radius and extrusion settings.

Definition

Constructors

Initializes a background shape using the specified gauge and geometry percentages.

C#
public GaugeBackgroundShape(RadRadialGaugeElement owner, double extrusionPercentage, double radiusOffset)
Parameters:ownerRadRadialGaugeElement

The gauge that supplies the sweep and center.

extrusionPercentagedouble

The proportion used to determine the inner radius.

radiusOffsetdouble

The outer radius as a percentage of the available gauge radius.

Methods

Creates the annular sector path and mirrors it to the requested bounds.

C#
public override GraphicsPath CreatePath(Rectangle bounds)
Parameters:boundsRectangle

The bounds used to mirror the gauge path.

Returns:

GraphicsPath

The annular sector path, or null when no gauge was supplied.

Overrides: ElementShape.CreatePath(Rectangle)