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

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

161. Laya.stage.getChildAt(i) as Role 在js下的写法是什么? [ 59%]

...法,在js中 var role =Laya.stage.getChildAt(i); 得到的role 是Laya.Sprite类 不是我定义的Role 2016-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: Laya.stage里存在的就...

来源: Laya_社区 发布时间: 20160828

162. 为什么Laya.Panel的子节点在(0,0)位置会不显示呢? [ 59%]

....width = 800; panel.y = 30; panel.hScrollBarSkin = null; var sp = new Laya.Sprite(); panel.addChild(sp); sp.x = 0; sp.y = 0; // 用下面这组数据是可显示的 // sp.y = 1; // sp.x = 1; sp.graphics.drawRect(0, 0, 200, 200, "#00FF00"); Laya.stage.addChild(panel);   这个是我的代码,sp是...

来源: Laya_社区 发布时间: 20170217

163. laya.ui.Label [ 59%]

...| Events Packagelaya.uiClasspublic class LabelInheritanceLabel Component Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...

来源: laya_api 发布时间: 20170929

164. laya.ui.Button [ 59%]

... Events Packagelaya.uiClasspublic class ButtonInheritanceButton Component Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和...

来源: laya_api 发布时间: 20170929

165. laya.ui.ScaleBox [ 58%]

...ackagelaya.uiClasspublic class ScaleBoxInheritanceScaleBox Box UIComponent Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inher...

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

166. laya.ui.VSlider [ 58%]

...ckagelaya.uiClasspublic class VSliderInheritanceVSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 VSlider 控件采用垂直方向。滑块轨道从下往上扩展,而标签位于轨道...

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

167. laya.ui.Box [ 58%]

...s | Events Packagelaya.uiClasspublic class BoxInheritanceBox UIComponent Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, ScaleBox, Tree, UIGroup, ViewStack Box 类是一个控件容器类。 Public Properties Hide Inherited Public Properties Show Inherited Publi...

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

168. laya.ui.HSlider [ 58%]

...ckagelaya.uiClasspublic class HSliderInheritanceHSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 HSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 HSlider 控件采用水平方向。滑块轨道从左向右扩展,而标签位于轨道...

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

169. laya.ui.TextInput [ 58%]

...kagelaya.uiClasspublic class TextInputInheritanceTextInput Label Component Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...

来源: laya_api 发布时间: 20170929

170. laya.ui.VScrollBar [ 58%]

....uiClasspublic class VScrollBarInheritanceVScrollBar ScrollBar UIComponent Sprite Node EventDispatcher Object 使用 VScrollBar (垂直 ScrollBar )控件,可以在因数据太多而不能在显示区域完全显示时控制显示的数据部分。 Public Properties Hide Inherited Public Proper...

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