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

大约有 435 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)

81. layaair2.0默认字体设置无效 [ 78%]

... * @see laya.display.Text#defaultFont          */         public function get font():String {             return _font;         }                  public function set font(value:String):void {             if ((_style as TextStyle).currB...

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

82. laya.ui.Button [ 78%]

...Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton Component Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同...

来源: laya_api 发布时间: 20170929

83. laya.map.GridSprite [ 78%]

...s No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public Properties Hide Inherited Public Properties Show Inherited Public P...

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

84. laya.ui.Tree [ 78%]

... Frames No Frames TreeProperties | Methods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Prope...

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

85. laya.map.MapLayer [ 78%]

...mes No Frames MapLayerProperties | Methods | Events Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级类 Public Properties Hide Inherited Public Properties ...

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

86. laya.ui.Button [ 78%]

...Frames No Frames ButtonProperties | Methods | Events Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或...

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

87. laya.ui.Clip [ 78%]

... Frames No Frames ClipProperties | Methods | Events Packagelaya.uiClasspublic class ClipInheritanceClip UIComponent Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横...

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

88. JSONP跨域读取数据(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 77%]

...具体代码如下所示: ```java package { import laya.utils.Browser; public class LayaSample { public function LayaSample() { Laya.init(100,100); var script:* = Browser.createElement("script"); Browser.document.body.appendChild(script); script.src = "http://localhost:9090/?a=1"; } public static ...

来源: Laya2.0_文档 发布时间: 20210714

89. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 77%]

...不能只处理get或set,如: class A {  protected _id:number = 1;    public get id():number { return this._id }  public set id(value:number){     this._id = vaule;  } } class B extends A {   public set id(value:number){     this._id = value + 1;   } } class C extends A {  public get i...

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

90. 如何用Tween 给graphics.drawLine 设置缓动 [ 77%]

...修改scale属性,进行拉伸!package { import laya.display.Sprite; public class LayaAirDemo { private var sp:Sprite; private var endX:Number; private var endY:Number; public function LayaAirDemo() { Laya.init(600,600); sp=new Sprite(); Laya.stage.addChild(sp); endX=0; endY=0; sp.graphics.drawL...

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