EvPolygonAttributes Interface
The EvPolygonAttributes TS interface defines a blueprint of a JS object that defines the shape of a polygon item.
Properties
An EvPolygonAttributes object has the following properties:
isSmooth: boolean;A Boolean, a flag that indicates the shape smoothness of the given polygon item:
false: sharp corners and straight edges.true: rounded corners and curved edges.

points: EvCoord2D[];An array of
EvCoord2Darrays, an array of 2D coordinates of points that define the vertices of the given polygon item.For a closed polygon, the coordinates of the starting and ending points must be the same.

Examples
{
isSmooth: true,
points: [
[152.8057553956834, 786.3021582733812],
[199.60439227565317, 551.7246743146025],
[402.3276031806134, 521.4995139023916],
[443.3956834532375, 727.2517985611512],
[752.6330935251799, 705.496402877698],
[724.6618705035971, 876.1236632315769],
[552.1726618705037, 968.1151079136692],
[301.9856115107914, 927.7122302158274],
[152.8057553956834, 786.3021582733812]
]
}
01 May 2025