Skip to content

图案无法拖拽 #110

@shellingfordly

Description

@shellingfordly

图案无法拖拽,代码如下

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);

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions