Variable FiveCanvasConst

FiveCanvas: DefineComponent<{
    height: {
        required: true;
        type: PropType<number>;
    };
    width: {
        required: true;
        type: PropType<number>;
    };
}, (() => VNode<RendererNode, RendererElement, {
    [key: string]: any;
}>), unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
    height: {
        required: true;
        type: PropType<number>;
    };
    width: {
        required: true;
        type: PropType<number>;
    };
}>>, {}, {}> = ...

Five 渲染区域组件

Five 渲染区域组件,请在 FiveProvider 内使用

渲染区域的宽度

渲染区域的高度

Vue 元素

<FiveProvider :initialWork="work">
<FiveCanvas width="512" height="512"/>
</FiveProvider>