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

大约有 221 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)

211. laya.ui.List [ 46%]

...ner(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite  initItems():void 初始化单元格信息。 List isMouseEvent(type:String):Boolea...

来源: laya_api 发布时间: 20170929

212. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 45%]

...确认编码是不是正确的,那就另存为的时候选择一下编码类型。如下图所示。 ![2](img/2.png) 这里提醒一下,有一些操作系统是没有Unicode编码的,那是因为windows后来系统升级后,旧系统的Unicode编码模式没有了。我们去选择**UTF-16 L...

来源: Laya2.0_文档 发布时间: 20210715

213. laya.display.Graphics [ 44%]

...可选)高度。  type:String (default = repeat) — (可选)填充类型 repeat|repeat-x|repeat-y|no-repeat  offset:Point (default = null) — (可选)贴图纹理偏移 ReturnsFillTextureCmdgetBounds()method  public function getBounds(realSize:Boolean = false):Rectangle 获取位置...

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

214. laya.display.Graphics_API3.0 [ 44%]

...可选)高度。 Default value type: string = "repeat" (可选)填充类型 repeat|repeat-x|repeat-y|no-repeat Default value offset: Point | null = null (可选)贴图纹理偏移 Default value color: string = null (可选)颜色 Returns FillTextureCmd | null getBounds getBounds(realSi...

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

215. laya.display.Text [ 44%]

...ner(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 Ev...

来源: laya_api 发布时间: 20170929

216. laya.ani.GraphicsAni_API3.0 [ 42%]

...可选)高度。 Default value type: string = "repeat" (可选)填充类型 repeat|repeat-x|repeat-y|no-repeat Default value offset: Point | null = null (可选)贴图纹理偏移 Default value color: string = null (可选)颜色 Returns FillTextureCmd | null getBounds getBounds(realSi...

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

217. laya.ui.CheckBox_API3.0 [ 40%]

...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Implementation of ISelect.addComponentInstance Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:9...

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

218. laya.ui.AutoBitmap_API3.0 [ 40%]

...可选)高度。 Default value type: string = "repeat" (可选)填充类型 repeat|repeat-x|repeat-y|no-repeat Default value offset: Point | null = null (可选)贴图纹理偏移 Default value color: string = null (可选)颜色 Returns FillTextureCmd | null getBounds getBounds(realSi...

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

219. laya.ui.TextArea_API3.0 [ 39%]

...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...

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

220. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...opacity=0);opacity:0;width: 150px;height:60px;"; file.type ="file";//设置类型是file类型。 file.accept="image/png";//设置文件的格式为png; file.style.position ="absolute"; file.style.zIndex = 999; 下面看下完整的代码: class Main { private video:Laya.Video; constructor() { /...

来源: Laya3.0_文档 发布时间: 20251010