Skip to content

BlockSuite API Documentation / @blocksuite/affine-model / getShapeName

Function: getShapeName()

getShapeName(type, radius): ShapeName

Parameters

type

ShapeType

radius

number

Returns

ShapeName

Defined in

packages/affine/model/src/consts/shape.ts:26