evCreate API 5.7 Help

EvOutline Interface

The EvOutline TS interface defines a blueprint of a JS object that describes an outline of an object item. It specifies how to draw the outline of a given object item.

Properties

An EvOutline object has the following properties:

optional data: EvLineOutline;

An EvLineOutline object, an object with the outline attributes necessary to draw the outline.

optional id: EvFrameRef;

A number, the internal identifier of a given outline. If it is specified when applying an outline:

  • The outline with the specified ID is applied.

  • The data object given in the data property is ignored.

type: EvOutlineType;

A member of the EvOutlineType enumeration, an outline type of a given outline.

Examples

TS

{ data: { cap: EvOutlineCap.Round, color: "#B3282E", join: EvOutlineJoin.Round, placement: EvOutlinePlacement.Top, width: 8 }, id: 12, type: EvOutlineType.Line }

JS

{ data: { cap: "round", color: "#B3282E", join: "round", placement: "top", width: 8 }, id: 12, type: "line" }
26 March 2025