大约有 66 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0044 秒)
...cs drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:Number = 1):DrawLineCmd 绘制一条线。 Graphics drawLines(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):DrawLinesCmd 绘制一系列线段。 Graphics drawPath(x:Number, y:Number...
来源: Laya2.0_api 发布时间: 20190513
...:void[static] 给指定的目标显示对象添加滤镜。 UIUtils adptString(str:String):String[static] 替换字符串中的转义字符 UIUtils clearFilter(target:Sprite, filterType:Class):void[static] 移除目标显示对象的指定类型滤镜。 UIUtils fillArray(arr:Array, str:Str...
来源: Laya2.0_api 发布时间: 20190513
...ods MethodDefined By Accelerator(singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getTransformedAcceleration(acceleration:AccelerationInfo):AccelerationInfo[static] 把加速度值转换为视觉上正确的加速度值。依赖于Browser.wi...
来源: Laya2.0_api 发布时间: 20190513
... drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:Number = 1):DrawLineCmd 绘制一条线。 Graphics drawLines(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):DrawLinesCmd 绘制一系列线段。 Graphics drawPath(x:Number, y:Nu...
来源: Laya2.0_api 发布时间: 20190513
...matrix:Array):ColorFilter 设置矩阵数据 ColorFilter setColor(color:String):ColorFilter 设置滤镜色 ColorFilterConstructor DetailColorFilter()Constructorpublic function ColorFilter(mat:Array = null) 创建一个 ColorFilter 实例。 Parameters mat:Array (default = null) — (可选)...
来源: Laya2.0_api 发布时间: 20190513
...archy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过piv...
来源: Laya2.0_api 发布时间: 20190513
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动...
来源: Laya2.0_api 发布时间: 20190513
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...
来源: Laya2.0_api 发布时间: 20190513
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...
来源: Laya2.0_api 发布时间: 20190513
...archy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过piv...
来源: Laya2.0_api 发布时间: 20190513