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

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

101. laya.ui.Tab_API3.0 [ 62%]

...adComplete():void { var tab:Tab = new Tab();//创建一个 Tab 类的实例对象 tab 。 tab.skin = "resource/ui/tab.png";//设置 tab 的皮肤。 tab.labels = "item0,item1,item2";//设置 tab 的标签集。 tab.x = 100;//设置 tab 对象的属性 x 的值,用于控制 tab 对象的显示位...

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

102. laya.ui.Label_API3.0 [ 62%]

... Menu Globals "laya/ui/Label" Label Class Label Label 类用于创建显示对象以显示文本。 example 以下示例代码,创建了一个 Label 实例。 package { import laya.ui.Label; public class Label_Example { public function Label_Example() { Laya.init(640, 800);//设置游戏画布宽...

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

103. laya.ui.FontClip [ 62%]

...离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...

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

104. laya.ui.UIGroup_API3.0 [ 62%]

...p Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Hierarchy Box UIGroup RadioGroup Tab Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseTh...

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

105. laya.ui.FontClip_API3.0 [ 62%]

...73 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标事件检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的目标对象或者未命中任何对象。 如果为false,优先检...

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

106. laya.ui.List_API3.0 [ 62%]

..."item" + i}); } var list:List = new List();//创建一个 List 类的实例对象 list 。 list.itemRender = Item;//设置 list 的单元格渲染器。 list.repeatX = 1;//设置 list 的水平方向单元格数量。 list.repeatY = 10;//设置 list 的垂直方向单元格数量。 list.vScrollBarS...

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

107. laya.ui.Tree_API3.0 [ 61%]

...析xml字符。 var tree:Tree = new Tree();//创建一个 Tree 类的实例对象 tree 。 tree.scrollBarSkin = "resource/ui/vscroll.png";//设置 tree 的皮肤。 tree.itemRender = Item;//设置 tree 的项渲染器。 tree.xml = xml;//设置 tree 的树结构数据。 tree.x = 100;//设置 tree ...

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

108. laya.ui.Panel [ 61%]

...素为单位)。 UIComponent  cacheAs : String[override] 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...

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

109. laya.ui.List [ 61%]

...像素为单位)。 Component  cacheAs : String[override] 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...

来源: laya_api 发布时间: 20170929

110. laya.ui.TextArea [ 60%]

...Component Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-on...

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