SetSmooth Function
Toggles the shape smoothness of a given multigon item from an Envision document currently opened in the Canvas Envision Creator app.
SetSmooth(obj: [[[EvItem|canvas-envision-document-items.html#object-items]]], smooth: boolean): Promise<void>
Parameters
obj: EvItemAn Object item object, a multigon item from the Envision document currently opened in the Canvas Envision Creator app whose shape smoothness should be toggled.
If a given object item is not a multigon, the function throws an error.
smooth: boolean;A Boolean, a switch to toggle the shape smoothness of the given multigon item:
true: sharp corners and straight edges.false: rounded corners and curved edges.

Return value
Promise<void>A Promise that, if fulfilled, resolves to
voidif the shape smoothness of the given multigon item in the current document has been successfully toggled.
09 April 2025