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

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

181. laya.ui.ColorPicker [ 73%]

...kagelaya.uiClasspublic class ColorPickerInheritanceColorPicker UIComponent Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Property...

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

182. laya.ui.UIGroup [ 73%]

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

来源: laya_api 发布时间: 20170929

183. iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 [ 72%]

...区域为黑色,其它机型都是正常的。 this.guideContainer = new Sprite(); this.guideContainer.cacheAs = "bitmap"; Utils.GuideLayer.addChild(this.guideContainer); this.guideContainer.on(Laya.Event.CLICK, this, this.nextStep); this.mouseEnabled = false; var maskArea: Laya.Sprite = new Laya....

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

184. laya.d3.core.scene.Scene [ 72%]

...onstants Packagelaya.d3.core.sceneClasspublic class SceneInheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...

来源: laya_api 发布时间: 20170929

185. laya.ui.ScrollBar [ 72%]

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

来源: laya_api 发布时间: 20170929

186. laya.ui.CheckBox [ 72%]

...agelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dat...

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

187. 2D物理-桥 [ 72%]

...teBridge() { const startPosX = 250, startPosY = 450; let ground = new Laya.Sprite(); Laya.Laya.stage.addChild(ground); let groundBody = new Laya.RigidBody(); groundBody.type = "static"; ground.addComponentIntance(groundBody); let chainCollider = ground.addComponent(Laya.ChainCollider); chainCollider...

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

188. 微信小游戏图片加载不出来 [ 72%]

...图片可以 ,下面附上背景demo //创建背景1 this.bg1 = new Laya.Sprite(); //加载并显示背景图 this.bg1.loadImage("ui/BG/play-bg.png", 0, 0, 720, 5120); //把背景图显示在容器内 this.addChild(this.bg1); //创建背景2 this.bg2 = new Laya.Sprite(); //加载并显示背景图...

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

189. layanative安卓端需要怎么添加ttf字体,需要增加两种字体? [ 72%]

...ONE 微信 helloworldlv 赞同来自: package test  { import laya.display.Sprite; import laya.display.Text; import laya.utils.Handler; /** * ... * @author ww */ public class TestTTFLoader  {   public function TestTTFLoader()  { Laya.init(1000, 900);   Laya.loader.load("res/remember.ttf",new Han...

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

190. laya.ui.Dialog [ 72%]

...Packagelaya.uiClasspublic class DialogInheritanceDialog View Box Component Sprite Node EventDispatcher ObjectSubclasses AsynDialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边...

来源: laya_api 发布时间: 20170929