2012年10月7日

矩阵变形

摘要: 矩阵变形flash.geom包(geom几何)Matrix类Point类Rectangle类Transform类ColorTransform类矩阵变形——Matrix类属性a:缩放或旋转图像时影响像素沿x轴定位的值b:旋转或倾斜图像时影响像素沿y轴定位的值c:旋转或倾斜图像时影响像素沿x轴定位的值d:缩放或旋转图像时影响像素沿y轴定位的值tx:沿x轴平移每个点的距离ty:沿y轴平移每个点的距离方法:构造函数Matrix(a:Number=1,b:Number=0,c:Number=0,d:Number=1,tx:Number=0,ty:Number=0)clone():Matrixrotate 阅读全文

posted @ 2012-10-07 20:03 笔墨丹青 阅读(702) 评论(0) 推荐(0)

滤镜的运用

摘要: 滤镜:flash.filters包BitmapFilter类:所有图像滤镜效果的基类包flash.filters类publicclassBitmapFilter继承BitmapFilterèObject子类BevelFilter,BlurFilter,ColorMatrixFilter,ConvolutionFilter,DisplacementMapFilter,DropShadowFilter,GlowFilter,GradientBevelFilter,GradientGlowFilter,ShaderFilter一.滤镜—BlurFilter类(模糊滤镜)1.属性(1) bl 阅读全文

posted @ 2012-10-07 19:54 笔墨丹青 阅读(500) 评论(0) 推荐(0)

导航