如何创建一个可变宽度中风AS3?宽度、创建一个

2023-09-08 14:16:05 作者:沈七.

有什么办法来创建一个绘制的路径上的可变宽度中风?我需要模仿笔pressure效果(不使用平板电脑)。我可以通过更改行程的某些属性做到这一点? 在此先感谢

Is there any way to create a variable-width stroke on a drawn path? I need to imitate a pen pressure effect (without using a tablet). Can I do this by changing some properties of a stoke? Thanks in advance

推荐答案

通常不喜欢刚刚张贴的链接!但是,这是你所需要的 平稳,响应绘制在AS3 应用 它决定了鼠标速度的厚度,可以很明显的改变,以满足您的需求。

usually dont like just posting links! But this is what you need A Smooth and Responsive Drawing Application in AS3 It determines the thickness by the mouse speed, you can obviously change that to fit your needs