Skip to content

editor / freeShapeContour

Function: freeShapeContour() ​

freeShapeContour(shape): readonly Point[]

Defined in: model/free-shape-contour.ts:17

Contour of a free shape, straight: the points of its corners stretched to its width and height, the top-left of their box fixed (DERIV-free-shape-stretch), then moved so that this top-left is at its position (ADR-0035). When the position is that top-left, nothing is added: the drawing is bit for bit the earlier one. Derived, never stored (ADR-0003).

Parameters ​

shape ​

FreeShape

valid free shape (isValidFreeShape)

Returns ​

readonly Point[]

its points as drawn, in contour order

Kind ​

domain

See ​

DERIV-free-shape-stretch