EvObjectAttributes Interface
The EvObjectAttributes TS interface defines a blueprint of a JS object that specifies the attributes of an object item.
Properties
An EvObjectAttributes object has the following properties:
boundsNonTransformed: EvRect;An
EvRectobject, the bounding box of a given object item without any transformations applied, e.g., rotation, skewing, etc. This is the original bounding box of an object item in the UI after the Remove Transform command has been applied to this object item.boundsTransformed: EvRect;An
EvRectobject, the bounding box of a given object item with one or more transformations applied, e.g., rotation, skewing, etc. This is the current bounding box of an object item in the UI.fill: EvFill;An
EvFillobject, the fill of a given object item.id: EvObjId;A number, the internal identifier of a given object item. It is unique within an Envision document currently opened in the Canvas Envision Creator app. This ID is not globally unique across different sessions of the same document and should not be stored outside the context of the current document session.
isLocked: boolean;A Boolean, a flag indicating whether a given object item is locked (
true) or unlocked (false) against modifications. Editing locked object items is not allowed.isTransformed: boolean;A Boolean, a flag indicating whether a given object item has (
true) or has no (false) a transformation matrix applied by transformation operations like rotation or skewing.isVisible: boolean;A Boolean, a flag indicating whether a given object item is visible (
true) or hidden (false) on the page layer.name: string;A string, the name of a given object item.
outline: EvOutline;An
EvOutlineobject, the outline of a given object item.transparency: EvTransparency;An
EvTransparencyobject, the transparency of a given object item.type: EvObjType;A member of the
EvObjTypeenumeration, an object item type of a given object item.optional typeAttributes: | EvArcAttributes | EvBezierAttributes | EvCompositeAttributes | EvGroupAttributes | EvImageAttributes | EvLineAttributes | EvMultigonAttributes | EvPolygonAttributes | EvRoundedRectangleAttributes | EvTableAttributes | EvTextAttributes;A data object with the object item attributes specific for the object item type of a given object item.
wasCreatedFromSymbol: boolean;A Boolean, a flag indicating whether a given object item has been created by placing a symbol into the document.