evCreate API 5.7 Help

Rounded Rectangles

The Rounded Rectangles subsection of the Object section of the evCreate API includes an interface and functions to create and update rounded rectangle items.

roundedRectangle namespace

The Rounded Rectangles subsection of the Object evCreate API section is accessed with the roundedRectangle namespace inside the object namespace:

evCreate.object.roundedRectangle.Function()

Interfaces

EvRoundedRectangleAttributes

An interface that defines the corner curvature of a rounded rectangle item.

Functions

Create(bounds: EvRect, xRadius?: number, yRadius?: number, zOrder?: EvObjectZOrder): Promise<EvItem>

A function to create a new rounded rectangle item.

SetRadius(obj: EvItem, xRadius: number, yRadius?: number): Promise<void>

A function to change the corner curvature of a given rounded rectangle item according to given new corner radius lengths.

09 April 2025