大约有 339 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0042 秒)
Laya_社区(176) Laya3.0_api(65) Laya2.0_文档(28) Laya_示例(17) Laya2.0_示例(14) Laya2.0_api(14) laya_api(13) Laya3.0_文档(12)
...ipt var templet; Laya.init(1000,900,Laya.WebGL); test(); var skeleton; var text; function test() { skeleton =new Laya.Skeleton(); skeleton.url="res/spine/alien/alien.sk"; skeleton.pos(300,700); Laya.stage.addChild(skeleton); text=new Laya.Text(); Laya.stage.addChild(text); text.color="#00ff00"; text...
来源: Laya2.0_文档 发布时间: 20210715
...ndler; WebGL = Laya.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.loadingLabel = null; thi...
来源: Laya2.0_示例 发布时间: 20241117
...ebGL.enable(); Laya.init(1000,900); this.test(); } skeleton:Laya.Skeleton; text:Laya.Text; test() { var skeleton=new Laya.Skeleton(); skeleton.url="res/spine/alien/alien.sk"; skeleton.pos(300,700); Laya.stage.addChild(skeleton); this.text=new Laya.Text(); Laya.stage.addChild(this.text); this.text.co...
来源: Laya2.0_文档 发布时间: 20210715
... laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.display.Text; import laya.events.Event; import laya.webgl.WebGL; /** * ... * @author ww */ public class SkeletonChangeActionSample { public function SkeletonChangeActionSample() { WebGL.enable(); Laya.init(1000, 900); test(); } priva...
来源: Laya2.0_文档 发布时间: 20210715
..._WIDTH = 4; var label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor; } Laya.stage.addChild(label); return label; } })();module laya { import Stage = ...
来源: Laya_示例 发布时间: 20241117
...Label(); Laya.stage.addChild(label); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor; } return label; } } new UI_Label();module laya { import Stage = Laya.Stage; impo...
来源: Laya2.0_示例 发布时间: 20241117
...ailInput, birthdayInput, passwordInput]); } showLabel(label, x, y) { const Text = Laya.Text; let t = new Laya.Text(); t.height = this.rowHeight; t.valign = "middle"; t.fontSize = 15; t.font = "SimHei"; t.text = label; t.pos(x, y); this.form.addChild(t); } createInputElement(){ let input = Laya.Brows...
来源: Laya2.0_示例 发布时间: 20241117
...TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Text_Underline { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(600, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MID...
来源: Laya2.0_示例 发布时间: 20241117
...AirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Text = Laya.Text; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(600, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMod...
来源: Laya_示例 发布时间: 20241117
...function() { var BitmapFont = Laya.BitmapFont; var Stage = Laya.Stage; var Text = Laya.Text; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var fontName = "diyFont"; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.client...
来源: Laya_示例 发布时间: 20241117