Lines
The Lines subsection of the Object section of the evCreate API includes interfaces and functions to create and update line items.
line namespace
The Lines subsection of the Object evCreate API section is accessed with the line namespace inside the object namespace:
evCreate.object.line.Function()
Interfaces
EvLineAttributesAn interface that defines the starting and ending endpoints of a line item.
Functions
Create(start: EvCoord2D, end: EvCoord2D, zOrder?: EvObjectZOrder): Promise<EvItem>A function to create a new line item with given endpoint coordinates.
SetEndPoints(obj: EvItem, start?: EvCoord2D, end?: EvCoord2D): Promise<void>A function to move the starting, ending, or both endpoints of a given line item to given new positions.
28 April 2025