大约有 1,004 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0082 秒)
Laya_社区(712) Laya3.0_api(68) Laya2.0_api(59) laya_api(56) Laya2.0_文档(47) Laya_示例(27) Laya3.0_文档(25) Laya2.0_示例(10)
... Events Packagelaya.uiClasspublic class SliderInheritanceSlider Component Sprite Node EventDispatcher ObjectSubclasses HSlider, VSlider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 滑块的当前值由滑块端点(对应于滑块的最小值...
来源: laya_api 发布时间: 20170929
...行draw绘制并显示到舞台 var sp2 = new Laya.Sprite(); sp2.x = 300; sp2.graphics.drawTexture(_texture,0,0,100,100); Laya.stage.addChild(sp2); 2019-02-15 1 条评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20190215
...lasspublic class AsynDialogInheritanceAsynDialog Dialog View Box Component Sprite Node EventDispatcher Object 异步Dialog的生命周期:show或者popup > onCreate(如果没有创建过) > onOpen > onClose > onDestroy(如果销毁) onCreate在页面未创建时执行一次,再次打...
来源: laya_api 发布时间: 20170929
...vents Packagelaya.uiClasspublic class PanelInheritancePanel Box Component Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1...
来源: laya_api 发布时间: 20170929
...接实例化此类,因为有些方法需要由子类实现。 Hierarchy Sprite AnimationBase FrameAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_RE...
来源: Laya3.0_api 发布时间: 20231115
...s | Events Packagelaya.uiClasspublic class ComponentInheritanceComponent Sprite Node EventDispatcher ObjectImplements IComponentSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager Component 是ui控件类的基类。 生命周期:preiniti...
来源: laya_api 发布时间: 20170929
...| Events Packagelaya.device.mediaClasspublic class VideoInheritanceVideo Sprite Node EventDispatcher Object Video将视频显示到Canvas上。Video可能不会在所有浏览器有效。 关于Video支持的所有事件参见:http://www.w3school.com.cn/tags/html_ref_audio_video_dom.asp。 注意...
来源: laya_api 发布时间: 20170929
... Events Packagelaya.uiClasspublic class TreeInheritanceTree Box Component Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...
来源: laya_api 发布时间: 20170929
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
... Hp.HP_TYPE_SPEED = "hp_type_speed"; //Hp Laya.class(Hp,"Hp", laya.display.Sprite); var _proto = Hp.prototype; _proto.init = function(type){ this.width = 180; this.height = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TYPE_ENERGY: texture2 = Laya.l...
来源: Laya_社区 发布时间: 20160803