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

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

331. 要做一个方形倒计时,请问该怎么实现,知道该怎么做 [ 68%]

... = rect; pos = bian * 0.5; } public function set360(value:int):void { this.graphics.clear(); if(value == -1){ return; } this.graphics.drawPie(pos,pos,r,START+(360 - value), 270 , COLOR ,null,0); } private function ef():void { if( TheGame.GetServerTime() > endTime ){ this.stop(); return; } var now...

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

332. laya.ui.Image [ 68%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。UIComponent  group : String 资源分组。 Ima...

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

333. laya.ui.CheckBox [ 67%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。UIComponent height : Number[override] 显示对...

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

334. laya.ui.ProgressBar_API3.0 [ 67%]

...Component ProgressBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bar bg blendMode bottom cacheAs cente...

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

335. laya.ui.ColorPicker_API3.0 [ 67%]

...Component ColorPicker Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode borderColor bottom ...

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

336. laya.ui.HSlider_API3.0 [ 67%]

...rarchy Slider HSlider Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY b...

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

337. laya.ui.VSlider_API3.0 [ 67%]

...rarchy Slider VSlider Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY b...

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

338. 请问老师为什么我按照官网的实例播放音频没反应呢? [ 67%]

... w = 110; var h = 40; var button = new Sprite(); button.size(w, h); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2, 8, "25px SimHei", "#FFFFFF", "center"); Laya.stage.addChild(button); return button; } function onPlayMusic(e) { console.log("播放音乐"); Sou...

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

339. laya.ui.ScrollBar_API3.0 [ 67%]

...VScrollBar HScrollBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag t...

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

340. laya.ui.ColorPicker [ 67%]

...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。UIComponent height : Number[override] 表示显...

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