如何创建一个可变宽度中风AS3? [英] How can I create a variable-width stroke in AS3?

查看:101
本文介绍了如何创建一个可变宽度中风AS3?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法来创建一个绘制的路径上的可变宽度中风?我需要模仿笔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

这篇关于如何创建一个可变宽度中风AS3?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆