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

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

1. Sprite-屏幕截图 [ 100%]

... WebGL = Laya.WebGL, Stage = Laya.Stage; this.btnArr = ["res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png"]; this.nameArr = ["canvas截图","sprite截图","清理"]; this._canvas = null; this.aimSp = null; this.drawImage = null; this.drawSp = null; this.mo...

来源: Laya2.0_示例 发布时间: 20240930

2. laya.ui.Button_API3.0 [ 96%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Button" Button Class Button Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三态(up,over,down)。 example 以...

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

3. laya.ui.CheckBox_API3.0 [ 95%]

...出选中状态: checkBox.selected = " + checkBox.selected); } } Hierarchy Button CheckBox Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWi...

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

4. laya.ui.Radio_API3.0 [ 95%]

...该组中当前所选的 Radio 控件。 see laya.ui.RadioGroup Hierarchy Button Radio Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthS...

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

5. UI内存泄漏 [ 90%]

...还是没解决。 然后我自己看了下源码,找到些问题,像button,我视图卸载,释放后,CleanRes后,还能从AutoBitmap里取到我的图集并显示出来(附件Button1)。就是把Button里_sources缓存到了AutoBitmap里,destroy的时候这部分也没有相关的处...

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

6. laya.ui.CheckBox [ 90%]

...ods | Events Packagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button Component Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 Ch...

来源: laya_api 发布时间: 20170929

7. laya.ui.Radio [ 89%]

...| Methods | Events Packagelaya.uiClasspublic class RadioInheritanceRadio Button Component Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选...

来源: laya_api 发布时间: 20170929

8. laya.ui.Button [ 88%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton Component Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态...

来源: laya_api 发布时间: 20170929

9. 分享:Panel下动态修改子容器宽高并刷新显示! [ 88%]

...age { import laya.display.Sprite; import laya.events.Event; import laya.ui.Button; import laya.ui.Panel; import laya.utils.Browser; import laya.utils.Handler; public class LayaUISample { public function LayaUISample() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.heigh...

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

10. 如何实现点击列表时,点击item中的按钮有事件,点击item其他位置没有事件,目前只能实现点击list里的item组件进行事件监听,没办法实现监听item中的button [ 86%]

...击list里的item组件进行事件监听,没办法实现监听item中的button   附件 : --> 2017-11-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 你可以针对item里面的组件...

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