大约有 95 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0137 秒)
...anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...
来源: Laya2.0_api 发布时间: 20190513
...过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接...
来源: laya_api 发布时间: 20170929
...ansform3D Index Constructors constructor Properties _nativeObj MemoryBlock_size tmpVec3 Accessors localMatrix localPosition localPositionX localPositionY localPositionZ localRotation localRotationEuler localRotationEulerX localRotationEulerY localRotationEulerZ localRotationW localRotationX localRot...
来源: Laya3.0_api 发布时间: 20231115
... I/LayaBox﹕ >>>>>>>>>>>>surface innersize changed : g_nInnerWidth=1794,g_nInnerHeight=1080 04-11 11:17:09.578 8591-8609/? I/LayaBox﹕ init dev w=1794,h=1080 04-11 11:17:09.578 8591-8609/? I/LayaBox﹕ INFO:gles 支持的最大顶点属性个数=16 04-...
来源: Laya_社区 发布时间: 20170411
...值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为...
来源: laya_api 发布时间: 20170929
... bg 对象的属性 y 的值,用于控制 bg 对象的显示位置。 bg.sizeGrid = "40,10,5,10";//设置 bg 对象的网格信息。 bg.width = 150;//设置 bg 对象的宽度。 bg.height = 250;//设置 bg 对象的高度。 Laya.stage.addChild(bg);//将此 bg 对象添加到显示列表。 var ...
来源: Laya3.0_api 发布时间: 20231115
...过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接...
来源: Laya3.0_api 发布时间: 20231115
...是粗体 letter-spacing:10px; 字间距 font-family:宋体; 字体 font-size:20px; 字体大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字体描边宽度 strokeColor:#ff0000; 字体描边颜色 padding:10px 10px 20px 20px; 边缘的距...
来源: Laya3.0_api 发布时间: 20231102
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode borderColor bottom cacheAs centerX centerY components cus...
来源: Laya3.0_api 发布时间: 20231115
... = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__super.call(this);//初始化父类 this.graphics.drawRect(0, 0, 100, 20, "#ff0000"); var label = new laya.ui.Label();//创建一个 Label...
来源: Laya3.0_api 发布时间: 20231115