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

Defines a heart shape composed of two rounded upper lobes and a pointed lower tip.

Definition

Constructors

C#
public HeartShape()

Methods

Creates a closed heart path fitted to the specified bounding rectangle.

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

The rectangle that determines the outer coordinates of the heart.

Returns:

GraphicsPath

A path containing the arcs and lines that form the heart.

Overrides: ElementShape.CreatePath(Rectangle)