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

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

471. 加载的nativeimage处理 [ 58%]

...ture:Texture=Loader.getRes("ui/image.png"); var sp:Sprite=new Sprite(); sp.graphics.drawTexture(texture); Laya.stage.addChild(sp); } 2017-06-03 0 1 分享 微博 QZONE 微信 xiaojun 赞同来自: 是这个 2017-06-03 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: nativeimage和htmlimage是...

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

472. Laya事件不能添加给多边形吗? [ 58%]

...能添加给多边形吗? var clickRect = new Laya.Sprite(); clickRect.graphics.drawRect( 0, 0, Laya.stage.width, Laya.stage.height-100, "#ffffff" ); Laya.stage.addChild( clickRect ); clickRect.on( Laya.Event.CLICK, this, function(){ console.log( 'adf' ) } );   我创建一个多边形,然后...

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

473. Panel使用文档(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 58%]

... var panel: Laya.Panel = new Laya.Panel(); //给panel添加背景色 panel.graphics.drawRect(0, 0, 100, 100, "#ffcccc"); //给panel设置宽高 panel.size(100, 100); //给panel设置滚动条皮肤 panel.vScrollBarSkin = "comp/vscroll.png"; //将panel添加到stage上 Laya.stage.addChild(panel); //...

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

474. laya.ui.TextInput_API3.0 [ 58%]

...Label TextInput TextArea Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _tf _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borde...

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

475. 这方法加载不出来图片 Mac电脑 [ 58%]

...er.getRes("res/RunGameImg/floor.png"); var ape: Sprite = new Sprite(); ape.graphics.drawTexture(t, 0, 0); this.addChild(ape); ape.pos(20, 220); 2017-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 JDL18079969...

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

476. 求GradientColor实现背景渐变Demo [ 58%]

...eateByConstant(new Laya.Vector4(0.324,0.231,0.341,1));         this.bg.graphics.drawRect(0,0,720,1280,gradient.gradient);   gradient打出来全是Null 附件 : --> 2019-09-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

477. laya.ui.OpenDataContextView_API3.0 [ 58%]

...t OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components...

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

478. laya.ui.Panel_API3.0 [ 58%]

... Hierarchy Box Panel Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY com...

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

479. laya.ui.LayoutBox_API3.0 [ 58%]

...x LayoutBox HBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX cent...

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

480. laya.ui.TipManager_API3.0 [ 58%]

...IComponent TipManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx offsetX offsetY tipBackColor tipDelay tipTextColor Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY ...

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