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

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

111. laya.ui.ScrollBar [ 27%]

...动隐藏滚动条(无需滚动时),默认值为false。ScrollBar autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为...

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

112. laya.ani.bone.Skeleton_API3.0 [ 27%]

...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniMode animationName blendMode cacheAs components customRenderEnable destroyed displayHe...

来源: Laya3.0_api 发布时间: 20231115

113. laya.ui.ComboBox [ 27%]

...anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...

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

114. laya.ui.Button [ 26%]

...anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...

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

115. laya.ui.TextInput [ 26%]

...anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...

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

116. laya.display.Scene_API3.0 [ 26%]

...tra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable ...

来源: Laya3.0_api 发布时间: 20231115

117. laya.ui.Dialog [ 26%]

...销毁(销毁节点和使用到的资源),默认为falseScene autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为...

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

118. laya.ui.List_API3.0 [ 26%]

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

119. laya.ui.UIGroup_API3.0 [ 26%]

...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEna...

来源: Laya3.0_api 发布时间: 20231115

120. laya.display.Sprite_API3.0 [ 25%]

...过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接...

来源: Laya3.0_api 发布时间: 20231115