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

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

1. laya.display.Graphics [ 100%]

...建一个新的 Graphics 类实例。 Graphics  alpha(value:Number):void 设置透明度。 Graphics  clear(recoverCmds:Boolean = false):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):void 设置剪裁区域,超出剪裁区域的坐标不显示...

来源: laya_api 发布时间: 20170929

2. laya.resource.Texture [ 96%]

...。 EventDispatcher  setTo(bitmap:Bitmap = null, uv:Array = null):void 设置此对象的位图资源、UV数据信息。 TextureEvents Event Summary Defined By  loaded资源加载完成后调度。TextureProperty Detail_atlasIDpropertypublic var _atlasID:int = -1bitmapproperty public var bitm...

来源: laya_api 发布时间: 20170929

3. laya.display.Stage [ 91%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要...

来源: laya_api 发布时间: 20170929

4. laya.display.Sprite [ 89%]

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

来源: laya_api 发布时间: 20170929

5. laya.ui.Clip [ 89%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模...

来源: laya_api 发布时间: 20170929

6. laya.ui.Component [ 89%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组...

来源: laya_api 发布时间: 20170929

7. laya.ui.Image [ 86%]

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

来源: laya_api 发布时间: 20170929

8. laya.ui.ProgressBar [ 85%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bar : Image[read-only] 获取进度条对象。 ProgressBar  bg : Image[read-only] 获取背景条对象。 ...

来源: laya_api 发布时间: 20170929

9. laya.ui.Box [ 84%]

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

来源: laya_api 发布时间: 20170929

10. laya.ui.Panel [ 84%]

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

来源: laya_api 发布时间: 20170929