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

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

271. laya.ui.Panel [ 77%]

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

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

272. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 77%]

...改大小 tree.size(300, 300); //修改树的位置 tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; // IDE中生成的此类对应的json对...

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

273. laya.display.Scene_API3.0 [ 77%]

...Through name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation glob...

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

274. laya.ui.VBox [ 77%]

...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴...

来源: laya_api 发布时间: 20170929

275. laya.ui.VBox_API3.0 [ 77%]

...gh name tag CENTER LEFT NONE RIGHT drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOp...

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

276. laya.ui.HBox_API3.0 [ 77%]

...gh name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOp...

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

277. Sprite-缓存为静态图像 [ 76%]

...andom() * 360; text.color = "#CCCCCC"; text.x = Math.random() * Laya.stage.width; text.y = Math.random() * Laya.stage.height; textBox.addChild(text); } //缓存为静态图像 textBox.cacheAsBitmap = true; Laya.stage.addChild(textBox); } })();module laya { import Sprite = Laya.Sprite; import Stage =...

来源: Laya_示例 发布时间: 20260303

278. textInput的单行输入&多行输入(TypeScript-LayaAir基础篇(TS)-文本) [ 76%]

...ctor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; this.createSingleInput(); this.createMulti...

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

279. image在相应loaded的时候,无法正确获取高度 [ 76%]

...is.init); } private init():void { console.log("init", this.x, this.y, this.width, this.height, this.scaleX, this.scaleY); var createOption: any = { isStatic: false, }; this.matterBody = Matter.Bodies.rectangle(this.x, this.y, this.width, this.height, createOption); Matter.World.add(GameMain.instance...

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

280. Clip属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 76%]

...lipX、竖向分隔数量 clipY,或横向分割每个切片的宽度 clipWidth、竖向分割每个切片的高度 clipHeight,从左向右,从上到下,分割组合为一个切片动画。 ​ Clip 组件可以用来播放切片动画,和显示切片动画的某一帧图片。 ​ 点击...

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