Skip to content

BlockSuite API Documentation / @blocksuite/blocks / getShapeName

Function: getShapeName()

getShapeName(type, radius): ShapeName

Parameters

type: ShapeType

radius: number

Returns

ShapeName

Defined in

packages/affine/model/dist/consts/shape.d.ts:18