• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 225 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0037 秒)

1. laya.utils.Utils_API3.0 [ 100%]

... Utils Class Utils Utils 是工具类。 Hierarchy Utils Index Methods fromStringColor getBaseName getFileExtension getGID parseInt replaceFileExtension toAngle toHexColor toRadian Methods Static fromStringColor fromStringColor(value: string): number Defined in laya/utils/Utils.ts:40 Parameters valu...

来源: Laya3.0_api 发布时间: 20231115

2. laya.utils.Utils [ 99%]

...Utils 是工具类。 Public Properties PropertyDefined By  parseXMLFromString : Function[static] 将字符串解析成 XML 对象。 UtilsPublic Methods  MethodDefined By  bind(fun:Function, scope:*):Function[static] 给传入的函数绑定作用域,返回绑定后的函数。 Utils  fit...

来源: Laya2.0_api 发布时间: 20190513

3. laya.utils.Utils [ 99%]

...Utils 是工具类。 Public Properties PropertyDefined By  parseXMLFromString : Function[static] 将字符串解析成 XML 对象。 UtilsPublic Methods  MethodDefined By  bind(fun:Function, scope:*):Function[static] 给传入的函数绑定作用域,返回绑定后的函数。 Utils  fit...

来源: laya_api 发布时间: 20170929

4. laya.ui.AutoBitmap [ 96%]

...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

5. laya.ui.AutoBitmap [ 95%]

...cs drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:Number = 1):void 绘制一条线。 Graphics drawLines(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列线段。 Graphics drawPath(x:Number, y:Number, paths:Array, ...

来源: laya_api 发布时间: 20170929

6. laya.resource.HTMLCanvas [ 95%]

...s  destroy():void[override] 销毁。 HTMLCanvas  getContext(contextID:String, other:* = null):Context 获取 Canvas 渲染上下文。 HTMLCanvas  getMemSize():int 获取内存大小。 HTMLCanvas  getTexture():Texture 获取texture实例 HTMLCanvas  release():void 释放。 HTMLCanvas ...

来源: Laya2.0_api 发布时间: 20190513

7. laya.d3.utils.Utils3D [ 91%]

...转、缩放值计算到结果矩阵数组。 Utils3D  getURLVerion(url:String):String[static] 获取URL版本字符。 Utils3D  getVertexTangentDeclaration(vertexElements:Array):VertexDeclaration[static] Utils3D  mulMatrixByArray(leftArray:Float32Array, leftOffset:int, rightArray:Float32Array...

来源: laya_api 发布时间: 20170929

8. laya.display.Sprite [ 90%]

...获取。设置为true,对性能有一定影响。 Sprite  blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动...

来源: Laya2.0_api 发布时间: 20190513

9. laya.d3.utils.Utils3D_API3.0 [ 89%]

...阵数组的偏移。 Returns void Static getURLVerion getURLVerion(url: string): string Defined in laya/d3/utils/Utils3D.ts:482 获取URL版本字符。 Parameters url: string Returns string Static mulMatrixByArray mulMatrixByArray(leftArray: Float32Array, leftOffset: number, rightArray: Float32Arr...

来源: Laya3.0_api 发布时间: 20231115

10. laya.ui.ColorPicker [ 89%]

...获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 表示颜色样本列表面板的背景颜色值。 ColorPicker blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  borderColor : String 表示颜色样本列表面板的边框颜色...

来源: Laya2.0_api 发布时间: 20190513