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

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

121. laya.html.dom.HTMLDivElement [ 49%]

...kagelaya.html.domClasspublic class HTMLDivElementInheritanceHTMLDivElement Sprite Node EventDispatcher ObjectSubclasses HTMLIframeElement HTML图文类,用于显示html内容 支持的标签如下: a:链接标签,点击后会派发"link"事件 比如:a div:div容器标签,比如: span:行内...

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

122. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 49%]

...保一个对象能够被回收,需要删除对该对象的所有引用。Sprite提供的`destory()`方法会帮助设置内部引用为null。 例如,以下代码确保对象能够被作为垃圾回收: 1. `//创建一个Sprite实例` 2. `var sp:Laya.Sprite = new Laya.Sprite();` 3. `//将sp内...

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

123. HTML文本 · LayaAir3.0文档 · LAYABOX [ 49%]

...src='res/boy.png'></img>"; */ export class HTMLDivElement extends Sprite { 下面我们通过一些示例代码来看看运行效果: 3.1 同一个文本中设置Bold、Font、FontSize、Color、下划线 【注意:目前不支持斜体、描边、span标签内嵌的方式】 示例如...

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

124. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 48%]

...保一个对象能够被回收,需要删除对该对象的所有引用。Sprite提供的`destory()`方法会帮助设置内部引用为null。 例如,以下代码确保对象能够被作为垃圾回收: 1. `//创建一个Sprite实例` 2. `var sp = new Laya.Sprite();` 3. `//将sp内部引用设...

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

125. laya.ui.UIGroup [ 46%]

...Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box UIComponent Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Publ...

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

126. laya.ui.TextInput_API3.0 [ 46%]

...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/TextInput.ts:118 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in ...

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

127. laya.ui.TextArea_API3.0 [ 46%]

...raphics _graphics: AutoBitmap Inherited from TextInput._graphics Overrides Sprite._graphics Defined in laya/ui/TextInput.ts:118 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in ...

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

128. laya.display.Input_API3.0 [ 45%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _parseEscapeChars _parseEscapeChars: boolean Inherited from Text._parseEscapeChars Defined in laya/display/Text.ts:202 是否将字符串中的\n,\t转换为实际功能的字符 _scene _scene: Node Inherited fr...

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

129. laya.ui.Tab [ 45%]

...Packagelaya.uiClasspublic class TabInheritanceTab UIGroup Box UIComponent Sprite Node EventDispatcher Object Tab 组件用来定义选项卡按钮组。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活...

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

130. laya.ui.RadioGroup [ 45%]

...iClasspublic class RadioGroupInheritanceRadioGroup UIGroup Box UIComponent Sprite Node EventDispatcher Object RadioGroup 控件定义一组 Radio 控件,这些控件相互排斥; 因此,用户每次只能选择一个 Radio 控件。 Public Properties Hide Inherited Public Properties Show Inher...

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