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

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

191. laya.display.Input_API3.0 [ 48%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize editable filters focus font fontSize globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea html htmlParseOptions is3D italic leading lines mask maxChars maxScrollX maxScrollY maxWid...

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

192. laya.display.Input [ 48%]

...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以...

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

193. laya.display.Animation [ 48%]

...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以...

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

194. laya.ui.FontClip_API3.0 [ 48%]

...aSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea index interval is3D isPlaying left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right ro...

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

195. laya.display.Animation [ 48%]

...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node filters : Array滤镜集合。可以设置多个滤镜组合。Sprite  frames : Array 当前动画的帧图像数组。本类中,每个帧图像是...

来源: laya_api 发布时间: 20170929

196. TiledMap地图 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...视口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(0, 0, Laya.stage.designWidth, Laya.stage.designHeight); //创建TiledMap地图 this.tMap.createMap("resources/TiledMap/orthogonal.json", viewRect, new Laya.Handler(this, this.completeHandler)); } //添加地图到Scene2D下 private onLoad...

来源: Laya3.0_文档 发布时间: 20251010

197. 树状列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...据 tree.xml = new Laya.XML(treeData); tree.size(300, 300); tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; tree.bgColor = "#d25454"; this.owner.addChild(tree); } } class Item extends Laya.Box { constructor() { super(); this.right = 0; this.left = 0; var...

来源: Laya3.0_文档 发布时间: 20251010

198. laya.display.Input [ 47%]

...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node  editable : Boolean 是否可编辑。 Input filters : Array滤镜集合。可以设置多个滤镜组合。Sprite  focus : Boolean 表示焦点是...

来源: laya_api 发布时间: 20170929

199. 绘制能力 · LayaAir3.3 · 引擎文档 · LAYABOX [ 46%]

...坐标 path.push(-33, -33);//五角星J点坐标 sp.graphics.drawPoly(Laya.stage.width / 2, Laya.stage.height / 2, path, "#FF7F50"); this.owner.addChild(sp); 代码运行效果如下图所示: (图4-5) 通过上面的示例代码的写法,是不是感觉代码的可读性得到了增强,...

来源: Laya3.0_文档 发布时间: 20251010

200. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...list.itemRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 设置List的垂直滚动 list.scrollType = Laya.ScrollType.Vertical; // 设置List的垂直滚动皮肤,不设置或者""就没有...

来源: Laya3.0_文档 发布时间: 20251010