• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 239 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0059 秒)

201. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 32%]

...= 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

202. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 32%]

...Box</span><span>欢迎你的加入</span>" Laya.stage.addChild(div);2、获取Html文本的实际内容、获取html文本的实际宽高(contextWidth、contextHeight) 示例如下:var htmlDiv:HTMLDivElement=new HTMLDivElement(); var html:String = "<span color='#e3d26a'&gt...

来源: Laya_社区 发布时间: 20161027

203. 背景音乐来回切换报错 [ 32%]

...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

204. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 32%]

....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

205. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 30%]

...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

206. laya.ui.LayoutBox_API3.0 [ 25%]

...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

207. laya.ui.VBox_API3.0 [ 25%]

...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

208. laya.ui.HBox_API3.0 [ 25%]

...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

209. laya.ui.ScaleBox [ 20%]

...上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心...

来源: Laya2.0_api 发布时间: 20190513

210. laya.ui.Box [ 20%]

...上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心...

来源: Laya2.0_api 发布时间: 20190513