evCreate API 5.7 Help

EvMultigonAttributes Interface

The EvMultigonAttributes TS interface defines a blueprint of a JS object that specifies the attributes of a given multigon item.

Properties

An EvMultigonAttributes object has the following properties:

optional inset: number;

A number, an inset value of the given multigon. The inset parameter controls how far the intersection points of a Star multigon or inner points of a Star Outline multigon extend inward or outward, affecting the overall appearance of the shape.

This parameter is not available for the Frame, Spoke, and Wheel multigons.

The valid range is from 0 to 300. Smaller numbers move the points in question inwards, and larger numbers move them outwards. The default value is 38.

An inset parameter controls how far the intersection points of a Star multigon or inner points of a Star Outline 
multigon extend inward or outward, affecting the overall appearance of the shape.

optional pinwheel: number;

A number, a pinwheel angle of the given multigon. The pinwheel parameter controls the rotation of the outer points (vertices) of a Star or Star Outline multigon from their original position around the multigon center, affecting the overall appearance of the shape. The inner points stay at their original position during rotation.

This parameter is not available for the Frame, Spoke, and Wheel multigons.

The valid range is from -360 to 360. Positive numbers rotate the points in question clockwise, and negative numbers rotate them counterclockwise. The default value is 0.

A pinwheel angle controls the rotation of the multigon points from the original point position around the multigon 
center.

optional points: number;

A number, the number of vertices of the given multigon.

The valid range is from 3 to 100. The default value is 5.

A points number controls the number of vertices of the given multigon.

optional smooth: boolean;

A Boolean, a switch to control the shape smoothness of a given multigon:

  • true: sharp corners and straight edges.

  • false: rounded corners and curved edges.

The default value is false.

A smooth parameter controls the shape smoothness of a given multigon.

Examples

{ inset: 36, pinwheel: 15, points: 8, smooth: true }
01 May 2025