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

Adapts a gauge visual's path for use as its element shape.

Definition

Constructors

Initializes the shape adapter for the specified gauge visual.

C#
public GaugeShape(GaugeVisualElement owner)
Parameters:ownerGaugeVisualElement

The visual that supplies the path.

Methods

Gets the owner's path mirrored to the requested bounds.

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

The bounds used to mirror the path.

Returns:

GraphicsPath

The gauge visual's path adjusted to the specified bounds.

Overrides: ElementShape.CreatePath(Rectangle)