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

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

311. laya.ui.ProgressBar [ 65%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...

来源: laya_api 发布时间: 20170929

312. laya.ui.Slider_API3.0 [ 65%]

...rior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayed...

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

313. laya.display.FrameAnimation [ 65%]

...口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scalescaleX、scaleY。...

来源: laya_api 发布时间: 20170929

314. 【简单跑酷--JS版】---Lv.6 终篇 [ 65%]

...proto = Hp.prototype; _proto.init = function(type){ this.width = 180; this.height = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TYPE_ENERGY: texture2 = Laya.loader.getRes("res/en_bar.png"); break; case Hp.HP_TYPE_SPEED: texture2 = Laya.loader.getR...

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

315. 骨骼动画-换装 [ 65%]

...WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } startFun() { const Te...

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

316. laya.ui.FontClip [ 65%]

...垂直方向中心线的距离(以像素为单位)。 UIComponent clipHeight : Number 竖向分割时每个切片的高度,与 clipY 同时设置时优先级高于 clipY 。 Clip clipWidth : Number 横向分割时每个切片的宽度,与 clipX 同时设置时优先级高于 clipX 。 Clip...

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

317. laya.ui.AdvImage_API3.0 [ 65%]

...centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY ri...

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

318. android旋转屏幕 半边黑屏 [ 64%]

...tive SDK 0.9.2  正常//初始化引擎 Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgColor = "#ffeff0"; //设置横竖屏 // Laya.stage.optimizeScrollRect = true; Font.defaultFont = "宋体"; Laya.stage.alignV = "top"; Laya.stage.alignH = "left"; Laya.stage.screenMode = "vertical"...

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

319. laya.ui.DialogManager [ 64%]

...口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scalescaleX、scaleY。...

来源: laya_api 发布时间: 20170929

320. 如何动态改变图集特效的宽和高 [ 64%]

...1 个回复 cuixueying 赞同来自: 无法直接修改Animation的widthheight,请对animation的scale进行设置即可! 2017-04-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiaomin 相关问题 用二的幂次方图集和...

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