bedphp
bedphp
 这是konva.js生成的,毕竟圆润和清晰  这是leaferjs生成的,有点不清晰和粗
环境:电脑 + window 10 + chrome 131 + leaferjs 1.5.3 测试代码: ``` import { Leafer, Rect, Box } from 'leafer-ui' import { Flow } from '@leafer-in/flow'// 导入动画插件 const leafer =...
环境:电脑 + window 10 + nodejs v22.12.0 + leaferjs 1.5.1 代码: ``` import { Leafer, Rect, useCanvas, Box, Text, Frame, Image } from '@leafer-draw/node'; import { Flow } from '@leafer-in/flow';...
哔哩哔哩笑传之触触毙
这个红色背景的图片尺寸为:3000*2000 leafer加载的: 其他框架的:
环境:Node v22.12.0 + leafer-draw v1.9.0 + windows10 flow布局设置inFlow设置false,然后设置x或者y导致出现问题,flow溢出了 代码: ``` { "tag": "Leafer", "children": [ { "tag": "Frame", "fill": { "type": "image", "url": "./assets/logo_back.png", "mode": "repeat" }, "id": "root", "children":...
flow布局使用了autoWidth,发现width和boxBounds都获取的宽度为120,真实宽度为960
第一个flow设置宽度,第二个元素还是flow元素,但是没有设置width,设置了autoWidth,然后这个子元素嵌套了两个box。 结果自动宽度没生效。 json: ``` { tag: 'Leafer', children: [ { tag: 'Frame', fill: { type: 'image', url: './assets/logo_back.png', mode: 'repeat' }, id: 'root', children: [ { tag: 'Box', children: [...
   ``` // #创建 Text [标准创建 (Leafer)] import { Leafer, Text } from 'leafer-ui' const leafer = new Leafer({ view: window }) const text = new Text({ fill:...
UI代码:[ui.json](https://github.com/user-attachments/files/21351014/ui.json) 环境:windows 10+node js v22.12.0+leafer v1.8.0 (node draw版本) nodejs版本可以正常导出json,无法正常输出图片,导出无报错。网页端直接使用json会报错。 貌似在box设置了flow的情况下有问题。 网页截图: