开发者

What is the transformation math for creating a 45 deg angle drop shadow?

I read somewhere in Google's reference (and I can no开发者_如何学Pythont find it again) that the shadow for the map marker should be at a 45 degree angle. What is the transformation to apply to the original image to achieve this? By eyeball it looks like it could be a horizontal shear of about 50% followed by a vertical compression to 50%, but I suspect it could be more complicated.


Not exactly the answer, but this website painlessly eliminated the problem.

http://cycloloco.com/shadowmaker/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜