Skip to content

editor / radiiWithSelection

Function: radiiWithSelection() ​

radiiWithSelection(radii, selected, radius): readonly number[]

Defined in: model/radii-with-selection.ts:12

Radii after a radius is typed in Points mode: the selected vertices get it, the others keep theirs (F03.AC5).

Parameters ​

radii ​

readonly number[]

requested radius of each vertex, in contour order

selected ​

readonly number[]

numbers of the selected vertices, from 0

radius ​

number

radius typed

Returns ​

readonly number[]

the new radii, as many as before

Kind ​

domain

See ​

docs/domain/shapes.md#_2-corner-radius