大约有 95 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0024 秒)
Laya2.0_示例(32) Laya_示例(32) Laya_社区(15) Laya2.0_文档(11) Laya3.0_api(2) laya_api(1) Laya2.0_api(1) Laya3.0_文档(1)
...align = "middle"; text.align = "center"; Laya.stage.addChild(text); } })();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_CallLater { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Br...
来源: Laya_示例 发布时间: 20240930
...图像 textBox.cacheAsBitmap = true; Laya.stage.addChild(textBox); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Sprite_Cache { constructor() { // 不支持WebGL时自动切换至...
来源: Laya_示例 发布时间: 20240930
...ext.align = "center"; Laya.stage.addChild(text); } } new Timer_CallLater();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_CallLater { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Br...
来源: Laya2.0_示例 发布时间: 20240930
...//缓存为静态图像 textBox.cacheAs = "bitmap"; } } new Sprite_Cache();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Sprite_Cache { constructor() { // 不支持WebGL时自动切换...
来源: Laya2.0_示例 发布时间: 20240930
...微的改动): import WebGL = Laya.WebGL import Handler = Laya.Handler module laya { import Stage = Laya.Stage; import Label = Laya.Label; import WebGL = Laya.WebGL; export class UI_Label { constructor() { // // 不支持WebGL时自动切换至Canvas // Laya.init(800, 600, WebGL); //此处为微...
来源: Laya_社区 发布时间: 20180529
...tring(16); b = b.length == 2 ? b : "0" + b; return "#" + r + g + b; } })();module laya { import Animation = Laya.Animation; import Stage = Laya.Stage; import Browser = Laya.Browser; import Handler = Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class BlendMode_Lighter { ...
来源: Laya_示例 发布时间: 20240930
...nderlineColor; txt.pos(x, y); Laya.stage.addChild(txt); return txt; } })();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import WebGL = Laya.WebGL; export class Text_Underline { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(600, 400, WebGL); Laya.stage.align...
来源: Laya_示例 发布时间: 20240930
...th == 2 ? b : "0" + b; return "#" + r + g + b; } } new BlendMode_Lighter();module laya { import Animation = Laya.Animation; import Stage = Laya.Stage; import Browser = Laya.Browser; import Handler = Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class BlendMode_Lighter { ...
来源: Laya2.0_示例 发布时间: 20240930
...olor = underlineColor; txt.pos(x, y); return txt; } } new Text_Underline();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import WebGL = Laya.WebGL; export class Text_Underline { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(600, 400, WebGL); Laya.stage.align...
来源: Laya2.0_示例 发布时间: 20240930
...(Laya.stage.height - txt.textHeight) / 2; Laya.stage.addChild(txt); } })();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_ComplexStyle { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(...
来源: Laya_示例 发布时间: 20240930