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

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

311. laya.ui.ScrollBar [ 77%]

...Packagelaya.uiClasspublic class ScrollBarInheritanceScrollBar UIComponent Sprite Node EventDispatcher ObjectSubclasses HScrollBar, VScrollBar ScrollBar 组件是一个滚动条组件。 当数据太多以至于显示区域无法容纳时,最终用户可以使用 ScrollBar 组件控制所显示的...

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

312. laya.ui.List [ 77%]

... Events Packagelaya.uiClasspublic class ListInheritanceList Box Component Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties Show Inher...

来源: laya_api 发布时间: 20170929

313. 3d项目base64 截图成绩有偏差 [ 77%]

...把精灵绘制到canvas上面                 var sp:Laya.Sprite = new Laya.Sprite();//创建精灵                 sp.graphics.drawTexture(htmlCanvas.getTexture());//把截图绘制到精灵上                 sp.pos(-300, -300)           ...

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

314. 为什么显示不了 [ 77%]

为什么显示不了 var sp = new Laya.Sprite(); sp.graphics.drawRect(this.mouse_x, this.mouse_y, 10, 10, "#ff0000"); //var htmlC:Laya.HTMLCanvas = sp.drawToCanvas(375,440,0,0).getCanvas().toDataURL(); var htmlCanvas:Laya.HTMLCanvas = sp.drawToCanvas(375,440,0,0); var texture:Laya.Texture = new La...

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

315. laya.display.Animation [ 77%]

...displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当...

来源: laya_api 发布时间: 20170929

316. laya.ui.ComboBox [ 77%]

...s Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox UIComponent Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...

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

317. 打包到ios和android,sprite上设置texture没有作用了。 [ 77%]

打包到ios和android,sprite上设置texture没有作用了。 如题,我特别喜欢使用sprite.texture = loader.getRes(url)的方法来修改已创建的sprite上的显示图片,但在打包以后发现这个方式没有改变其显示,一开始我以为是资源没有找到,但后来...

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

318. laya.ui.Button [ 77%]

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

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

319. 图层叠加的实现 [ 77%]

图层叠加的实现 我用 var ape:Sprite = new Sprite(); var t:Texture = Laya.loader.getRes("res/bg.png"); ape.graphics.drawTexture(t,0,0); var t1:Texture = Laya.loader.getRes("res/wzq.png"); ape.graphics.drawTexture(t1,0,0); var t2:Texture = Laya.loader.getRes("res/rkfb.png"); ape.graphics.draw...

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

320. laya.ui.TextInput [ 77%]

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

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