-
Notifications
You must be signed in to change notification settings - Fork 294
Open
Description
图案无法拖拽,代码如下
const context = createCanvasContext("canvas");
const { screenWidth, screenHeight } = getSystemInfoSync();
const canvas = new wxDraw(context, 0, 0, screenWidth, screenHeight);
const rect = new Shape(
"rect",
{ x: 60, y: 60, w: 40, h: 40, fillStyle: "#2FB8AC", rotate: Math.PI / 2 },
"mix",
true
);
canvas.add(rect);Metadata
Metadata
Assignees
Labels
No labels
