大约有 6 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0019 秒)
...ClickZoom(); map.disablePinchToZoom(); // 初始地点北京,缩放系数15 map.centerAndZoom(new BMap.Point(116.32715863448607, 39.990912172420714), 15); // 创建标注物 marker = new BMap.Marker(new BMap.Point(0,0)); map.addOverlay(marker); let label = new BMap.Label("当前位置", { offset: ...
来源: Laya2.0_示例 发布时间: 20241123
...rial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; Laya.stage.addChild(ta); } } new UI_TextArea();module laya { import Stage = Laya.Stage; import TextArea = Laya.TextArea; import Browser = Laya.Browser; import Handler = Laya.Ha...
来源: Laya2.0_示例 发布时间: 20241123
... Laya.Text(); t.height = this.rowHeight; t.valign = "middle"; t.fontSize = 15; t.font = "SimHei"; t.text = label; t.pos(x, y); this.form.addChild(t); } createInputElement(){ let input = Laya.Browser.createElement("input"); input.style.zIndex = Laya.Render.canvas.zIndex + 1; input.style.width = "100p...
来源: Laya2.0_示例 发布时间: 20241123
...57AFB"); this.txt = new Text(); this.txt.text = "销毁"; this.txt.pos(75, 15); this.txt.fontSize = 25; this.txt.color = "#FF0000"; this.btn.addChild(this.txt); this.btn.pos(20, 160); Laya.stage.addChild(this.btn); //添加侦听 this.btn.on(Event.MOUSE_UP, this, this.onMouseUp); } /** * 鼠标事...
来源: Laya2.0_示例 发布时间: 20241123
...1 * s * this.scale, 8 * -1 * this.scale]; const p5 = [60 * s * this.scale, 15 * -1 * this.scale]; const p6 = [25 * s * this.scale, 37 * -1 * this.scale]; let leg1 = new Sprite(); leg1.pos(this.pos[0] + this.m_offset[0], this.pos[1] + this.m_offset[1] + 16 * this.scale); // TODO 这里的数值待优...
来源: Laya2.0_示例 发布时间: 20241123
...HotText.pos(11.5, 9); this.redHotText.width = 14; this.redHotText.height = 15; // 列表item标题 this.LmsgTitle = new Label(); this.LmsgTitle.text = "测试标题"; this.addChild(this.LmsgTitle); this.LmsgTitle.font = "Microsoft YaHei"; this.LmsgTitle.fontSize = 22; this.LmsgTitle.color = "#000000...
来源: Laya2.0_示例 发布时间: 20241123