@mocanvas/mocanvas · class
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): ReactNodegetDefaultProps(): BookmarkShapePropsgetGeometry(shape: BookmarkShape): Geometry2dgetIndicatorPath(shape: BookmarkShape): Path2DgetRenderStyle(_shape: BookmarkShape): StyleWords | nullThe 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.PropsMigrationsreadonly options: BookmarkShapeOptionsstatic 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.