大约有 4 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0012 秒)
... hs.skin = "../../res/ui/hslider.png"; hs.width = 300; hs.pos(50, 170); hs.min = 0; hs.max = 100; hs.value = 50; hs.tick = 1; hs.changeHandler = new Handler(this, onChange); Laya.stage.addChild(hs); } function placeVSlider() { var vs = new VSlider(); vs.skin = "../../res/ui/vslider.png"; vs.height =...
来源: Laya_示例 发布时间: 20241118
... hs.skin = "../../res/ui/hscroll.png"; hs.width = 300; hs.pos(50, 170); hs.min = 0; hs.max = 100; hs.changeHandler = new Handler(this, onChange); Laya.stage.addChild(hs); } function placeVScroller() { var vs = new VScrollBar(); vs.skin = "../../res/ui/vscroll.png"; vs.height = 300; vs.pos(400, 50); ...
来源: Laya_示例 发布时间: 20241118
...(1, this, renderBg); } function createPhoenixes() { var scaleFactor = Math.min( Laya.stage.width / (phoenixWidth * 2), Laya.stage.height / phoenixHeight); // 加了混合模式的凤凰 var blendedPhoenix = createAnimation(); blendedPhoenix.blendMode = "lighter"; blendedPhoenix.scale(scaleFactor, sc...
来源: Laya_示例 发布时间: 20241118
.../**移到事件处理*/ function onMouseMove(e) { button.x = Math.max(Math.min(Laya.stage.mouseX, endPosition), beginPosition); } /**抬起事件处理*/ function onMouseUp(e) { Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); Laya.stage.off(Event.MOUSE_UP, this, onMouseUp); Laya.stage.off(Event...
来源: Laya_示例 发布时间: 20241118