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

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

1071. 超出文本区域的处理&滚动文本(ActionScript-LayaAir基础篇(AS3)-文本) [ 58%]

...WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); createText(); } private function createText():void { txt = new Text(); txt.overflow = Text.SCROLL; txt.text = "Layabox是HTML5引擎技术提供商与优秀的游戏发行商,面向AS/JS/TS开发者提供HTM...

来源: Laya2.0_文档 发布时间: 20210715

1072. laya.display.AnimationPlayerBase [ 58%]

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

来源: laya_api 发布时间: 20170929

1073. graphics怎么画透明色 [ 58%]

...(); graphics.alpha(0.6); graphics.drawRect(0,0,Laya.stage.width,Laya.stage.height,'#000000'); graphics.restore(); sprite.graphics=graphics; 2018-12-19 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 dz5566 相关问题 iphoneX环境下新...

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

1074. runTime使用(JavaScript-IDE篇(JS)-组件化开发相关) [ 58%]

...化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]); Laya["Physics"] && Laya["Physics"].enable(); Laya["DebugPanel"] && Laya["DebugPanel"].enable(); Laya.stage.scaleMode = GameConfig.scaleMode; Laya.stag...

来源: Laya2.0_文档 发布时间: 20210715

1075. laya.ui.HSlider_API3.0 [ 58%]

...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

1076. laya.ui.CheckBox [ 58%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array...

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

1077. loadImage加载图片不能调宽高 [ 58%]

....1.239:8003/aa.jpg") image.width=100 main.addChild(image) width、height不能生效 只能在加载时传入参数控制宽高,加载后要怎么控制? 2017-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

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

1078. list宽高的问题 [ 58%]

...高度根据内容自适应) 通过renderHandler,根据第一个label的height 设定第二个label的Y轴位置 问题来了,box的高度没有改变,排版会出现问题,getChildByName取不到box的高度,会报错。 求解决方法! 2018-10-15 添加评论 免费帖 --> 分享 微...

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

1079. laya.ui.VSlider_API3.0 [ 58%]

...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

1080. laya.ui.ScrollBar_API3.0 [ 58%]

...riggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOpt...

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