Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图案无法拖拽 #110

Open
shellingfordly opened this issue Jan 14, 2022 · 0 comments
Open

图案无法拖拽 #110

shellingfordly opened this issue Jan 14, 2022 · 0 comments

Comments

@shellingfordly
Copy link

shellingfordly commented Jan 14, 2022

图案无法拖拽,代码如下

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

@shellingfordly shellingfordly changed the title 无法拖拽 图案无法拖拽 Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant