@mocanvas/mocanvas · class
declare class VideoShapeUtil extends BaseBoxShapeUtil<VideoShape>This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Methods · 7
canEdit(_shape: VideoShape): booleanEditing a video means taking its controls, not typing into it.
component(shape: VideoShape): ReactNodegetDefaultProps(): VideoShapePropsgetGeometry(shape: VideoShape): Geometry2dgetIndicatorPath(shape: VideoShape): Path2DgetRenderStyle(_shape: VideoShape): StyleWords | nullA moving picture is not a texture the engine owns: video renders in the DOM overlay.
isAspectRatioLocked(_shape: VideoShape): booleanProperties · 5
static migrations: _mocanvas_editor.PropsMigrationsstatic options: VideoShapeOptionsreadonly options: VideoShapeOptionsstatic props: _mocanvas_editor.RecordProps<VideoShape>static type: "video"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.