Create Function
Creates a new rounded rectangle item in an Envision document currently opened in the Canvas Envision Creator app.
Parameters
bounds: EvRectAn
EvRectobject, the position and size of the bounding box of the new rounded rectangle item. The bounding box size defines the dimensions of the rounded rectangle shape.xRadius?: numberA number, the length of a semi-axis of the ellipse that defines the rectangle corner curvature along the horizontal axis of the bounding box of the new rounded rectangle item in length UoM global for the evCreate API.
The default value is
20.
yRadius?: numberA number, the length of a semi-axis of the ellipse that defines the rectangle corner curvature along the vertical axis of the bounding box of the new rounded rectangle item in length UoM global for the evCreate API.
The default value is the number equal to the one given in the
xRadiusparameter.zOrder?: EvObjectZOrderAn
EvObjectZOrderobject that includes:The layer item object of a layer in the current document where the new rounded rectangle item should be added. The default value is the current layer on the current page.
The position of the new rounded rectangle item in the stack of object items on the given layer. It is a zero-based index that is
0for the topmost object item on the layer and increases by1for each following object item going down the stack. The default value is0.