@mocanvas/mocanvas · class

BookmarkShapeUtil

declare class BookmarkShapeUtil extends BaseBoxShapeUtil<BookmarkShape>

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Methods · 5

component(shape: BookmarkShape): ReactNode
getDefaultProps(): BookmarkShapeProps
getGeometry(shape: BookmarkShape): Geometry2d
getIndicatorPath(shape: BookmarkShape): Path2D
getRenderStyle(_shape: BookmarkShape): StyleWords | null

The card is html — a banner image over wrapped, ellipsised text — which no single textured quad can stand in for, so the shape always renders through the DOM overlay.


Properties · 4

static migrations: _mocanvas_editor.PropsMigrations
readonly options: BookmarkShapeOptions
static props: _mocanvas_editor.RecordProps<BookmarkShape>
static type: "bookmark"

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.