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

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

421. 1.7.11 Sprite.loadimage [ 71%]

...版本) (64 位)  应该是目前最新的了 一 关于Sprite 的 width height 1. sp.loadImage('xxx.png',0,0,0,0,callback)调用方式 能否获取 立即调用宽高属性 no 回调 yes 延时(能够确保load的时间) yes没毛病 2. sp.loadImage('xxx.png',0,0,100,100,callback)调用方...

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

422. laya.ani.swf.MovieClip [ 71%]

...mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY ...

来源: laya_api 发布时间: 20170929

423. laya.ui.RadioGroup_API3.0 [ 71%]

...ouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCa...

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

424. laya.ui.TextArea_API3.0 [ 71%]

...属性 y 的值,用于控制 textArea 对象的显示位置。 textArea.width = 300;//设置 textArea 的宽度。 textArea.height = 200;//设置 textArea 的高度。 Laya.stage.addChild(textArea);//将 textArea 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高...

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

425. Laya.Rectangle 限制拖动的区域的参数是怎么计算的,相对于什么呢 [ 71%]

... 确定)以及宽度和高度定义的区域。 Rectangle 类的 xywidth 和 height 属性相互独立;更改一个属性的值不会影响其他属性。    你问的问题我看的不是很懂。 2018-05-30 0 0 分享 微博 QZONE 微信 W 赞同来自: 我想让这个区域就是舞...

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

426. sprite点击事件 位置便宜 [ 71%]

... "#D2691E"); rect.size(200, 200); rect.pivot(100,100); rect.x = Laya.stage.width /2; rect.y = Laya.stage.height / 2; // let hitArea = new Laya.Rectangle(rect.x-100,rect.y-100,200,200); // rect.hitArea = hitArea; Laya.stage.addChild(rect); //增加鼠标事件 rect.on(Event.MOUSE_DOWN, this, mouseHan...

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

427. laya.display.FrameAnimation [ 71%]

...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...

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

428. laya.ui.Radio [ 71%]

...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...

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

429. laya.ui.List [ 71%]

...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite  elasticEnabled : Boolean是否开启橡皮筋效果List filters : Array滤镜集合。可以设置多个...

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

430. laya.ui.List_API3.0 [ 71%]

...Enable selectHandler tag totalPage drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY array bgColor blendMode bottom cacheAs cells centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInSt...

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