evCreate API 5.7 Help

GetRotationAngle Function

Returns the rotation angle of the bounding box of a given object item in the angle unit of measure global for the entire evCreate API.

GetRotationAngle(obj: [[[EvItem|canvas-envision-document-items.html#object-items]]])): Promise<number>

Parameters

obj: EvItem

An Object item object, an object item from the Envision document currently opened in the Canvas Envision Creator app whose bounding box rotation angle should be returned.

Return value

Promise<number>

A Promise that, if fulfilled, resolves to a number that is the rotation angle of the given object item's bounding box in the angle unit of measure global for the entire evCreate API.

27 March 2025