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

Represents a media player-style element shape with curved edges and connecting lines.

Definition

Constructors

C#
public MediaShape()

Methods

Creates a media player-style graphics path with curved edges and connecting elements.

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

The bounding rectangle for the media shape.

Returns:

GraphicsPath

A GraphicsPath representing the media shape.

Overrides: ElementShape.CreatePath(Rectangle)