大约有 85 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0028 秒)
Laya_示例(24) Laya_社区(23) Laya3.0_文档(13) Laya2.0_文档(11) Laya2.0_示例(8) Laya3.0_api(5) Laya2.0_api(1)
...c/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Color" Color Class Color Color 类用于创建颜色实例。 Hierarchy Color Implements IClone Index Constructors constructor Properties a b g r BLACK BLUE CLEAR CYAN GRAY GREEN MAGENTA RED WHITE YELLOW Methods clone cloneTo...
来源: Laya3.0_api 发布时间: 20231115
...Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Color" Color Class Color Color 类用于创建颜色实例。 Hierarchy Color Implements IClone Index Constructors constructor Properties a b g r BLACK BLUE CLEAR CYAN GRAY GREEN MAGENTA RED WHITE YELLOW Methods clone cloneTo...
来源: Laya3.0_api 发布时间: 20231102
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createMap(); Laya.stage.on("click", this, onStageClick); })(); function createMap() { tiledMap = new TiledMap(); tiledMap.createMap("../../res/tiledMap/isometric_grass_and_water.json", new Rectangle(0, 0, L...
来源: Laya_示例 发布时间: 20251130
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createMap(); Laya.stage.on(Laya.Event.CLICK, this, this.onStageClick); } createMap() { const TiledMap = Laya.TiledMap, Rectangle = Laya.Rectangle, Point = Laya.Point; this.tiledMap = new TiledMap(); th...
来源: Laya2.0_示例 发布时间: 20251130
...I DocumentationAll Packages | All Classes | Index | Frames No Frames ColorProperties | Methods | Constants Packagelaya.d3.mathClasspublic class ColorInheritanceColor ObjectImplements laya.d3.core.IClone Color 类用于创建颜色实例。 Public Properties PropertyDefined By a : Number...
来源: Laya2.0_api 发布时间: 20190513
...路径 ]; //绘制梯形 lineSpr.graphics.drawPath(0, 0, path, {fillStyle: color}, {"strokeStyle": color, "lineWidth": "1"}); 初始得出梯形的上顶边宽度是:0.001523 像素 这时候梯形高度是1186 像素 但是 画的不完整。感觉到了一半就断了。 2018-07-17 添...
来源: Laya_社区 发布时间: 20180717
...Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createMap(); Laya.stage.on("click", this, this.onStageClick); } private createMap(): void { this.tiledMap = new TiledMap(...
来源: Laya_社区 发布时间: 20201230
...辨率是550 * 400 var phoenixWidth = 550; var phoenixHeight = 400; var bgColorTweener = new Tween(); var gradientInterval = 2000; var bgColorChannels = { r: 99, g: 0, b: 0xFF }; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(phoenixWidth * 2, phoenixHeight, WebGL); Laya.stage.ali...
来源: Laya_示例 发布时间: 20251130
...凤凰的分辨率是550 * 400 phoenixWidth = 500, phoenixHeight = 400, bgColorChannels = { r: 99, g: 0, b: 0xFF }, gradientInterval = 2000; class BlendMode_Lighter { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite, Tween =...
来源: Laya2.0_示例 发布时间: 20251130
...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); setup(); })(); function setup() { var textBox = new Sprite(); // 随机摆放文本 var text; for (var i = 0; i < 1000; i++) { text = new Text(); text.fontSize = 20; text.text = (Math.random() ...
来源: Laya_示例 发布时间: 20251130