大约有 712 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0048 秒)
Laya_社区(311) Laya3.0_api(93) Laya2.0_api(74) laya_api(62) Laya_示例(55) Laya2.0_示例(55) Laya2.0_文档(42) Laya3.0_文档(20)
... * @param y 开始绘制的 Y 轴位置。 * @param width 矩形宽度。 * @param height 矩形高度。 * @param round 矩形圆角半径。 * @param fillColor 填充颜色,或者填充绘图的渐变对象。 ...
来源: Laya_社区 发布时间: 20210123
...howBg() { var bg = new Image(bgSkin); bg.size(224, 302); bg.pos(Laya.stage.width - bg.width >> 1, Laya.stage.height - bg.height >> 1); Laya.stage.addChild(bg); } function createTimerAnimation() { counter = new Clip(clipSkin, 10, 1); counter.autoPlay = true; counter.interval = 1000; counter.x = (Laya...
来源: Laya_示例 发布时间: 20250312
...(英文|.|数字)。HTMLChar style : CSSStyle CSS 样式。HTMLChar width : Number 宽度。 HTMLChar x : Number 此对象存储的 X 轴坐标值。 当设置此值时,如果此对象有绑定的 Sprite 对象,则改变 Sprite 对象的属性 x 的值。 HTMLChar y : Number 此对...
来源: laya_api 发布时间: 20170422
... tmapsp.zOrder=1; this.tMap.changeViewPort(-((Laya.stage.width-this.tMap.width)/2),-((Laya.stage.height-this.tMap.height)/2),this.tMap.width,this.tMap.height); this.addChild(this.tMap.mapSprite()); 请问这是什么意思啊 2020-04-20 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20200420
...(x: number, y: number, radius: number, fillColor: any, lineColor: any, lineWidth: number, vid: number): void Defined in laya/resource/NativeContext.ts:442 Parameters x: number y: number radius: number fillColor: any lineColor: any lineWidth: number vid: number Returns void _drawLine _drawLine(x: num...
来源: Laya3.0_api 发布时间: 20231102
...tion() { // 不支持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 = "#232628"; setup(); })(); function setup() ...
来源: Laya_示例 发布时间: 20250312
Spine骨骼动画点击区域偏移 获取不到width height Spine骨骼动画点击区域偏移 获取不到width height 下面是模型文件 private _factory: Laya.Templet; constructor(spine, x, y, speed) { this._factory = new Laya.Templet(); this._factory.loadAni(...
来源: Laya_社区 发布时间: 20161108
...ce){ var vp=this._viewport; var size=this.renderTargetSize; var sizeW=size.width; var sizeH=size.height; this._normalizedViewport.x=vp.x / sizeW; this._normalizedViewport.y=vp.y / sizeH; this._normalizedViewport.width=vp.width / sizeW; this._normalizedViewport.height=vp.height / sizeH; } return this...
来源: Laya_社区 发布时间: 20170601
...ya.Image; let bg = new Image(bgSkin); bg.size(224, 302); bg.pos(Laya.stage.width - bg.width >> 1, Laya.stage.height - bg.height >> 1); Laya.stage.addChild(bg); } createTimerAnimation() { const Clip = Laya.Clip; this.counter = new Clip(clipSkin, 10, 1); Laya.stage.addChild(this.counter); this.counter...
来源: Laya2.0_示例 发布时间: 20250312
...d Hierarchy DrawEllipseCmd Index Properties fillColor height lineColor lineWidth percent width x y ID Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/display/cmd/DrawEllipseCmd.ts:27 填充颜色,或者填充绘图的渐变对象。 height height: number Defined ...
来源: Laya3.0_api 发布时间: 20231115