evCreate API 5.7 Help

Multigons

The Multigons subsection of the Object section of the evCreate API includes enumerations, interfaces, and functions to create and update multigon items.

multigon namespace

The Multigons subsection of the Object evCreate API section is accessed with the multigon namespace inside the object namespace:

evCreate.object.multigon.Function()

Enumerations

EvMultigonStyle

An enumeration of styles for drawing multigon items.

Interfaces

EvMultigonAttributes

An interface that defines the attributes of a multigon item.

Functions

Create(bounds: EvRect, style?: EvMultigonStyle, attributes?: EvMultigonAttributes, zOrder?: EvObjectZOrder): Promise<EvItem>

A function to create a new multigon item.

SetInset(obj: EvItem, inset: number): Promise<void>

A function to change the inset parameter of a given multigon item to a given new value.

SetPinwheelAngle(obj: EvItem, angle: number): Promise<void>

A function to change the pinwheel parameter of a given multigon item to a given new angle.

SetPointCount(obj: EvItem, count: number): Promise<void>

A function to change the number of vertices of a given multigon item to a given new value.

SetSmooth(obj: EvItem, smooth: boolean): Promise<void>

A function to toggle the shape smoothness of a given multigon item.

SetStyle(obj: EvItem, style: EvMultigonStyle): Promise<void>

A function to change the style of a given multigon item.

09 April 2025