Skip to content

API > @blocksuite/blocks > getArrowPoints

Function: getArrowPoints ​

getArrowPoints( points, size = 10, mode, bezierParameters, endPoint = ConnectorEndpoint.Rear, radians = ...): object

Parameters ​

ParameterTypeDefault value
pointsPointLocation[]undefined
sizenumber10
modeConnectorModeundefined
bezierParametersBezierCurveParametersundefined
endPointConnectorEndpointConnectorEndpoint.Rear
radiansnumberundefined

Returns ​

points ​

points: number[][]

Defined In ​

packages/blocks/src/surface-block/elements/connector/utils.ts:14