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

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

1. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 100%]

...r.png"); //设置宽度 progressBar.width = 400; //设置显示位置,在舞台居中 progressBar.x = (Laya.stage.width - progressBar.width ) / 2; progressBar.y = Laya.stage.height / 2; //设置九宫格边距,以防变形 progressBar.sizeGrid = "5,5,5,5"; //数据改变时回调方法 progressB...

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

2. Image属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 90%]

.../../res/ui/dialog (3).png"); //设置位置 img.pos(165, 62.5); //加载到舞台 Laya.stage.addChild(img); } } } ```

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

3. HScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 90%]

... this.hScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(this.hScrollBar); //创建提示信息 createPromptText(this.hScrollBar) } /***创建提示信息***/ function createPromptText(scrollBar) { //实例化提示信息 this.promptText = new Text(); //提...

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

4. VScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 90%]

... this.vScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(this.vScrollBar); //创建提示信息 createPromptText(this.vScrollBar) } /***创建提示信息***/ function createPromptText(scrollBar) { //实例化提示信息 this.promptText = new Text(); //提...

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

5. Clip属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 89%]

...ge = new Image(bgSkin); //设置图片大小 bg.size(224, 302); //位置居舞台中间 bg.pos(Laya.stage.width - bg.width >> 1, Laya.stage.height -bg.height >> 1); //加载到舞台 Laya.stage.addChild(bg); } /***创建计数器切片***/ private function createCounter():void { //实例化计数器...

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

6. HScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 88%]

...is.hScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞台 Laya.stage.addChild(this.hScrollBar); //创建提示信息 this.createPromptText(this.hScrollBar) } /***创建提示信息***/ private createPromptText(scrollBar:ScrollBar):void { //实例化提示信息 this.promptTex...

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

7. VScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 88%]

...is.vScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞台 Laya.stage.addChild(this.vScrollBar); //创建提示信息 this.createPromptText(this.vScrollBar) } /***创建提示信息***/ private createPromptText(scrollBar:ScrollBar):void { //实例化提示信息 this.promptTex...

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

8. VScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 87%]

...回调 vScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(vScrollBar); //创建提示信息 createPromptText(vScrollBar) } /***创建提示信息***/ private function createPromptText(scrollBar:ScrollBar):void { //实例化提示信息 promptText=new Text()...

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

9. HScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 87%]

...回调 hScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(hScrollBar); //创建提示信息 createPromptText(hScrollBar) } /***创建提示信息***/ private function createPromptText(scrollBar:ScrollBar):void { //实例化提示信息 promptText=new Text()...

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

10. Label属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 87%]

...; //设置文本描边颜色 label.strokeColor = strokeColor; } //加载到舞台 Laya.stage.addChild(label); return label; } } } ```

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