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

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

91. laya.ui.HScrollBar [ 63%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的...

来源: laya_api 发布时间: 20170929

92. laya.ui.ComboBox [ 63%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的...

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

93. CPU优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 63%]

...边界也有多种做法,而其间差异很有必要知道。 1. 使用getBounds/ getGraphicBounds。 ```typescript var sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); var bounds:Laya.Rectangle=sp.getGraphicBounds(); Laya.stage.addChild(sp); ``` getBounds可以满足多数多数...

来源: Laya2.0_文档 发布时间: 20210714

94. laya.media.SoundNode [ 62%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,...

来源: laya_api 发布时间: 20170422

95. 如何动态获取image的宽高? [ 62%]

...过对显示对象的rotation和pos以及scale进行赋值,然后通过getBounds和rotation属性取的显示对象本身所具备的值和属性。   2016-11-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 whzooo 王掌柜 相关...

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

96. laya.ui.TextArea [ 62%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 ...

来源: laya_api 发布时间: 20170929

97. laya.ui.Clip [ 62%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite...

来源: laya_api 发布时间: 20170929

98. laya.physics.PhysicsDebugDraw_API3.0 [ 62%]

...as drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width...

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

99. laya.ui.Button [ 62%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的...

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

100. 发光滤镜二次渲染bug [ 62%]

...Padding = 25;                 }                 b = sprite.getBounds();                 if (b.width <= 0 || b.height <= 0) {                     return;                 }   同时,发现这里区域计算与第一次渲染不一致,以下是修改...

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