• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 567 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0068 秒)

91. laya.ui.HBox [ 78%]

...ackagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box Component Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...

来源: laya_api 发布时间: 20170929

92. Event触发不了 [ 77%]

Event触发不了 var btn:Sprite = new Sprite(); login.addChild(btn); btn.graphics.drawRect(100, 200, 50, 50, "#000"); btn.pos(100, 200); btn.size(50,50); btn.on(Event.MOUSE_DOWN, this, function():void {console.log(1);}); btn.on换成Laya.stage.on是可以触发的,但是btn却触发不了。 麻...

来源: Laya_社区 发布时间: 20170525

93. graphics 绘制线条粗细不一样 [ 77%]

...00,100,null,"#000000",2) 效果: 代码:             var sp:Sprite = new Sprite();             this.addChild(sp);             sp.pos(200, 200);             sp.graphics.drawRect(0, 0, 200, 200, "#ff0000", "#000000", 2);   附件 : --> 2018-05-10 添加评论...

来源: Laya_社区 发布时间: 20180510

94. laya.ui.DialogManager [ 77%]

...nts Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通...

来源: laya_api 发布时间: 20170929

95. laya.display.Sprite [ 77%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectSubclasses AnimationBase, PerfHUD, Scene, Stage, Text Sprite 是基本的显示图形的显示列...

来源: Laya2.0_api 发布时间: 20190513

96. 发现一个奇怪的问题。。。 [ 77%]

发现一个奇怪的问题。。。 有一个sprite ,长300,高50,我用 var bounds = qzone.getGraphicBounds(); qzone.pivot(bounds.width / 2, 0); 设置了它的轴心点,发现它的屏幕坐标也跟着变了 这是怎么回事呢? 2017-05-22 添加评论 免费帖 --> 分享 微博 QZ...

来源: Laya_社区 发布时间: 20170522

97. laya.ui.VSlider [ 77%]

...Packagelaya.uiClasspublic class VSliderInheritanceVSlider Slider Component Sprite Node EventDispatcher Object 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 VSlider 控件采用垂直方向。滑块轨道从下往上扩展,而标签位于轨道...

来源: laya_api 发布时间: 20170929

98. laya.ani.swf.MovieClip [ 77%]

...Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度...

来源: laya_api 发布时间: 20170929

99. laya.ui.View [ 77%]

... Events Packagelaya.uiClasspublic class ViewInheritanceView Box Component Sprite Node EventDispatcher ObjectSubclasses Dialog View 是一个视图类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默...

来源: laya_api 发布时间: 20170929

100. laya.ui.HSlider [ 77%]

...Packagelaya.uiClasspublic class HSliderInheritanceHSlider Slider Component Sprite Node EventDispatcher Object 使用 HSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 HSlider 控件采用水平方向。滑块轨道从左向右扩展,而标签位于轨道...

来源: laya_api 发布时间: 20170929