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

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

151. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 52%]

...示的文本颜色(输入框有这个玩意儿) */ promptColor:string; constructor() { } }这些字段就是Label控件类设置样式的相关属性。这里我只选取了我需要的。还有那些align等属性,可以根据自己需要定义。这里只是抛砖引玉……2.设计一个ex...

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

152. laya.html.dom.HTMLIframeElement_API3.0 [ 52%]

...加载外并解析数据 Hierarchy HTMLDivElement HTMLIframeElement Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha blendMode cacheAs components contextHeight context...

来源: Laya3.0_api 发布时间: 20231102

153. laya.map.TileAniSprite_API3.0 [ 52%]

...象(TileAniSprite)) author ... Hierarchy Sprite TileAniSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blend...

来源: Laya3.0_api 发布时间: 20231115

154. laya.html.dom.HTMLDivElement_API3.0 [ 51%]

... "adivspanspan2p"; Hierarchy Sprite HTMLDivElement HTMLIframeElement Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha blendMode cacheAs components contextHeight contex...

来源: Laya3.0_api 发布时间: 20231102

155. laya.map.GridSprite_API3.0 [ 51%]

...类就是地图的块数据 author ... Hierarchy Sprite GridSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url aniSpriteArray autoSize drawImageNum hitTestPrior isAloneObject isHaveAnimation mouseThrough name relativeX relativeY tag drawtocanvCtx Accessors ...

来源: Laya3.0_api 发布时间: 20231115

156. laya.map.MapLayer_API3.0 [ 51%]

...层等) 本类就是层级类 author ... Hierarchy Sprite MapLayer Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior layerName mouseThrough name tag tarLayer drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha a...

来源: Laya3.0_api 发布时间: 20231115

157. laya.physics.PhysicsDebugDraw_API3.0 [ 51%]

...启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blend...

来源: Laya3.0_api 发布时间: 20231115

158. laya.ui.List_API3.0 [ 50%]

... Box = laya.ui.Box; import Label = laya.ui.Label; class Item extends Box { constructor() { this.graphics.drawRect(0, 0, 100, 20, null, "#ff0000"); var label: Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); this.addChild(label);...

来源: Laya3.0_api 发布时间: 20231115

159. laya.particle.Particle2D_API3.0 [ 50%]

...cle2D Particle2D 类是2D粒子播放类 Hierarchy Sprite Particle2D Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anc...

来源: Laya3.0_api 发布时间: 20231115

160. laya.media.SoundNode_API3.0 [ 50%]

...播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPl...

来源: Laya3.0_api 发布时间: 20231115