大约有 84 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0043 秒)
...is._blood_area.h + this._demon_area.h + this._doll_area.h; this.graphics.drawRect( 0, 0, this.width, this.height, null, "#ff0000", 1); if( ! DollGunRole._ani_cached ) { DollGunRole._ani_cached = true; Laya.Animation.createFrames( ["ui/gun_box/plane.png"], "demon_fly" ); Laya.Animation.createFram...
来源: Laya_社区 发布时间: 20180515
...>"; Laya.stage.addChild(html3); var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,300,30,null,"#999999"); Laya.stage.addChild(sp);4、实现超链接 示例如下:public function HtmlDemo() { var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML="<span href='http://ask.layabox.com/'&...
来源: Laya_社区 发布时间: 20161027
...prite();//创建一个 Sprite 类的实例对象 sprite 。 shape.graphics.drawRect(0, 0, 100, 100, "#ccff00", "#ff0000", 2);//绘制一个有边框的填充矩形。 shape.x = 400;//设置 shape 对象相对于父容器的水平方向坐标值。 shape.y = 200;//设置 shape 对象相对于父容...
来源: Laya3.0_api 发布时间: 20231115
... laya.ui.Label; class Item extends Box { public function Item() { 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); addChild(label); } } example (function (_super){ func...
来源: Laya3.0_api 发布时间: 20231115