大约有 850 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
Laya_社区(460) Laya3.0_api(77) laya_api(70) Laya2.0_api(64) Laya3.0_文档(53) Laya2.0_文档(50) Laya2.0_示例(39) Laya_示例(37)
...Area; let ta = new TextArea(""); ta.skin = skin; ta.font = "Arial"; 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.Text...
来源: Laya2.0_示例 发布时间: 20251130
...ialFontInfo _id : uintFontInfo _italic : Boolean = falseFontInfo _size : int = 14FontInfoPublic Methods MethodDefined By FontInfo(font:String)FontInfo Parse(font:String):FontInfo[static] FontInfo setFont(value:String):voidFontInfoProperty Detail_boldpropertypublic var _bold:Boole...
来源: Laya2.0_api 发布时间: 20190513
...arget(index:int):RenderTextureParallelSplitShadowMap getShadowMapTextureSize():intParallelSplitShadowMap getSplitDistance(index:int):NumberParallelSplitShadowMap getSplitFrustumCulling():BoundFrustumParallelSplitShadowMap multiplyMatrixOutFloat32Array(left:Matrix4x4, right:Matrix4x4, out...
来源: laya_api 发布时间: 20170929
...llLater triggered"); var text = new Text(); text.font = "SimHei"; text.fontSize = 30; text.color = "#FFFFFF"; text.text = "打开控制台可见该函数仅触发了一次"; text.size(Laya.stage.width, Laya.stage.height); text.wordWrap = true; text.valign = "middle"; text.align = "center"; Laya.stag...
来源: Laya_示例 发布时间: 20251130
...lay(marker); let label = new BMap.Label("当前位置", { offset: new BMap.Size(-15, 30) }); marker.setLabel(label); } createInfoText() { const Text = Laya.Text; infoText = new Text(); Laya.stage.addChild(infoText); infoText.fontSize = 50; infoText.color = "#FFFFFF"; infoText.size(Laya.stage.width, ...
来源: Laya2.0_示例 发布时间: 20251130
... Laya.stage.addChild(text); text.pos(x, y); let input = new Input(); input.size(50, 20); input.text = prompt; input.align = 'center'; Laya.stage.addChild(input); input.color = "#FFFFFF"; input.borderColor = "#FFFFFF"; input.pos(text.x + text.width + 10, text.y - 3); input.inputElementYAdjuster = 1; ...
来源: Laya2.0_示例 发布时间: 20251130
...过吗 Texture,和Texture2D如何互转? 微信真机下游戏MAX_TEXTURE_SIZE 微信小游戏 sharedCanvas 创建的Texture,能否再调用Texture.createFromTexture创建新纹理 请问layabox支持render texture么? layaAir的位图字体fnt可以兼容 egret 的 texture merger工具生成的...
来源: Laya_社区 发布时间: 20180723
...llLater triggered"); let text = new Text(); text.font = "SimHei"; text.fontSize = 30; text.color = "#FFFFFF"; text.text = "打开控制台可见该函数仅触发了一次"; text.size(Laya.stage.width, Laya.stage.height); text.wordWrap = true; text.valign = "middle"; text.align = "center"; Laya.stag...
来源: Laya2.0_示例 发布时间: 20251130
...stItemRender() { var label = null; ListItemRender.__super.call(this); this.size(100, 20); label = new Label(); label.fontSize = 12; label.color = "#FFFFFF"; this.addChild(label); this.setLabel = function(value) { label.text = value; } } Laya.class(ListItemRender, "ListItemRender", Box); // 主要逻...
来源: Laya_示例 发布时间: 20251130
...ct = new Sprite(); rect.graphics.drawRect(0, 0, 200, 200, "#D2691E"); rect.size(200, 200); rect.x = (Laya.stage.width - 200) / 2; rect.y = (Laya.stage.height - 200) / 2; Laya.stage.addChild(rect); //增加鼠标事件 rect.on(Event.MOUSE_DOWN, this, mouseHandler); rect.on(Event.MOUSE_UP, this, mouse...
来源: Laya_示例 发布时间: 20251130