大约有 239 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0059 秒)
Laya_社区(175) Laya2.0_api(35) Laya3.0_api(8) Laya3.0_文档(6) laya_api(5) Laya_示例(5) Laya2.0_文档(4) Laya2.0_示例(1)
...= Laya.Label; var Utils = Laya.Utils; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name"...
来源: Laya2.0_文档 发布时间: 20210715
...Box</span><span>欢迎你的加入</span>" Laya.stage.addChild(div);2、获取Html文本的实际内容、获取html文本的实际宽高(contextWidth、contextHeight) 示例如下:var htmlDiv:HTMLDivElement=new HTMLDivElement(); var html:String = "<span color='#e3d26a'>...
来源: Laya_社区 发布时间: 20161027
...MainActivity} 07-16 13:28:37.152 402-413/? W/WindowManager: Force-removing child win Window{4a9533a0 u0 SurfaceView} from container Window{4a9455c8 u0 com.layabox.game/demo.MainActivity} 07-16 13:28:37.152 402-748/? W/WindowManager: Failed looking up window java.lang.IllegalArgumentException: ...
来源: Laya_社区 发布时间: 20190716
....width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; Laya.stage.addChild(tree); } } } import Box = Laya.Box; import Clip = Laya.Clip; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/c...
来源: Laya2.0_文档 发布时间: 20210714
...y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; // IDE中生成的此类对应的json对象,在此作为参考,对应树形结构中的单元格Item类 // {"child": [{"type": "Clip", "pro...
来源: Laya2.0_文档 发布时间: 20210715
...gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addC...
来源: Laya3.0_api 发布时间: 20231115
...gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _set...
来源: Laya3.0_api 发布时间: 20231115
...gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _set...
来源: Laya3.0_api 发布时间: 20231115
...上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心...
来源: Laya2.0_api 发布时间: 20190513
...上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心...
来源: Laya2.0_api 发布时间: 20190513