evCreate API 5.7 Help

EvLineOutline Interface

The EvLineOutline TS interface defines a blueprint of a JS object that specifies the attributes of an outline.

Properties

An EvLineOutline object has the following properties:

optional cap: EvOutlineCap;

A member of the EvOutlineCap enumeration, a type of the line endpoints of a given outline.

optional color: string;

A string, an RGB color value of a given outline represented as a hex triplet in the following format: #rrggbb.

optional join: EvOutlineJoin;

A member of the EvOutlineJoin enumeration, a type of the outer corners (vertices) of a given outline.

optional placement: EvOutlinePlacement;

A member of the EvOutlinePlacement enumeration, a way to place a given outline along the bounding box of a given object.

optional width: number;

A number, the width of a given outline in points.

Examples

TS

{ cap: EvOutlineCap.Round, color: "#B3282E", join: EvOutlineJoin.Round, placement: EvOutlinePlacement.Top, width: 8 }

JS

{ cap: "round", color: "#B3282E", join: "round", placement: "top", width: 8 }
26 March 2025