-
已经使用 |
Beta Was this translation helpful? Give feedback.
Answered by
drawcall
Aug 24, 2022
Replies: 1 comment 2 replies
-
can try const mask = InkPaint.Sprite.fromImage('..../mask.png');
mask.anchor.set(0.5);
mask.x = x;
mask.y = y;
ffimage.display.mask = mask; |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
drawcall
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can try
https://github.com/drawcall/inkpaint
run demo