大约有 1,060 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0077 秒)
Laya_社区(730) Laya3.0_api(74) Laya2.0_api(67) laya_api(58) Laya2.0_文档(34) Laya3.0_文档(33) Laya_示例(33) Laya2.0_示例(31)
... Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其...
来源: Laya2.0_api 发布时间: 20190513
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Stat = Laya.Stat; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALI...
来源: Laya_示例 发布时间: 20251130
...nt=[];//声明一个集合,用于记录鼠标的位置 var img1=new Laya.Sprite();//声明第一个老婆 var img2=new Laya.Sprite();//声明第二个老婆 var lines=new Laya.Sprite();//声明全彩老婆的遮罩层 var times=800;//持久时间 Laya.stage.on(Laya.Event.MOUSE_MOVE,this,mousemove)...
来源: Laya_社区 发布时间: 20171018
...kagelaya.uiClasspublic class TextInputInheritanceTextInput Label Component Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...
来源: laya_api 发布时间: 20170929
...peScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_Cache { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = S...
来源: Laya2.0_示例 发布时间: 20251130
... _graphics _graphics: AutoBitmap Inherited from Button._graphics Overrides Sprite._graphics Defined in laya/ui/Button.ts:212 _ownGraphics _ownGraphics: boolean = false Implementation of ISelect._ownGraphics Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Im...
来源: Laya3.0_api 发布时间: 20231115
...件不触发 function myRing(x,y,r1,color1,r2,color2) { this.sprite = new Laya.Sprite(); this.sprite.on('mousedown', this, on_down); this.sprite.graphics.drawCircle(x, y, r2, color2, color2, 2); this.sprite.graphics.drawCircle(x, y, r1, color1, color1, 0); functi...
来源: Laya_社区 发布时间: 20161221
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var ape; var scaleDelta = 0; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.cl...
来源: Laya_示例 发布时间: 20251130
...ckagelaya.uiClasspublic class FontClipInheritanceFontClip Clip UIComponent Sprite Node EventDispatcher Object 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应...
来源: Laya2.0_api 发布时间: 20190513
...hods | Events Packagelaya.displayClasspublic class SceneInheritanceScene Sprite Node EventDispatcher Object 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestro...
来源: Laya2.0_api 发布时间: 20190513