大约有 998 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya_社区(251) Laya3.0_api(238) Laya_示例(136) Laya2.0_api(103) Laya2.0_示例(102) Laya2.0_文档(90) laya_api(74) Laya3.0_文档(4)
..."; } } } new laya.Interaction_FixInteractiveRegion();package { import laya.display.Sprite; import laya.display.Stage; import laya.display.Text; import laya.events.Event; import laya.utils.Browser; import laya.webgl.WebGL; public class Interaction_FixInteractiveRegion { private var logger:Text; publi...
来源: Laya_示例 发布时间: 20251209
...ld(txt); return txt; } } } new laya.Text_Underline();package { import laya.display.Stage; import laya.display.Text; import laya.webgl.WebGL; public class Text_Underline { public function Text_Underline() { // 不支持WebGL时自动切换至Canvas Laya.init(600, 400); Laya.stage.alignV = Stage.ALIGN...
来源: Laya2.0_示例 发布时间: 20251209
...ilters = [glowFilter]; } } } new laya.Filters_Glow();package { import laya.display.Sprite; import laya.display.Stage; import laya.filters.GlowFilter; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Filters_Glow { private const...
来源: Laya_示例 发布时间: 20251209
.../html> <script> "use strict"; var test = {}; test.text = new laya.display.Text(); // in this line is error , so you can't defined class before "Laya.init" Laya.init(800,600); //test.text = new laya.display.Text(); // in this line is right test.text.text = "dsafdsdsada"; test.text.color = "#...
来源: Laya_社区 发布时间: 20170302
...eturn character; } } } new laya.Tween_SimpleSample();package { import laya.display.Sprite; import laya.display.Stage; import laya.utils.Browser; import laya.utils.Tween; import laya.webgl.WebGL; public class Tween_SimpleSample { public function Tween_SimpleSample() { // 不支持WebGL时自动切换...
来源: Laya_示例 发布时间: 20251209
...ge.addChild(txt); } } } new laya.Text_ComplexStyle();package { import laya.display.Stage; import laya.display.Text; import laya.utils.Browser; import laya.webgl.WebGL; public class Text_ComplexStyle { public function Text_ComplexStyle() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.c...
来源: Laya_示例 发布时间: 20251209
...ICE_LOST : String = devicelost[static] 显卡设备丢失时触发Event DISPLAY : String = display[static] 定义 display 事件对象的 type 属性值。Event DOUBLE_CLICK : String = doubleclick[static] 定义 doubleclick 事件对象的 type 属性值。Event DRAG_END : String = dragend[...
来源: laya_api 发布时间: 20170929
...ick += 0.1; } } } new laya.PerformanceTest_Maggots();package { import laya.display.Sprite; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import laya.maths.Rectangle; import laya.webgl.WebGL; public class PerformanceTest_Maggots { private var texturePath:String = "../....
来源: Laya_示例 发布时间: 20251209
...“Laya.xxx”,而会出现小写的laya命名空间,一般为“laya.display.xxx”。 如果你读过Laya2.7中的框架源码,那么可以发现在这个版本中,window上面不会挂载小写laya命名空间,而只会挂载大写Laya的命名空间,故访问小写laya命名空间时...
来源: Laya_社区 发布时间: 20200809
...ilters = [glowFilter]; } } } new laya.Filters_Glow();package { import laya.display.Sprite; import laya.display.Stage; import laya.filters.GlowFilter; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Filters_Glow { private const...
来源: Laya2.0_示例 发布时间: 20251209