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

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

1. laya.display.Graphics [ 100%]

...s  MethodDefined By  Graphics()Graphics  alpha(alpha:Number):AlphaCmd 设置透明度。 Graphics  clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不...

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

2. laya.resource.Texture [ 95%]

...ll, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0):void 设置此对象的位图资源、UV数据信息。 TextureEvents Event Summary Defined By  ready资源加载完成后调度。TextureProperty Detailbitmappropertybitmap:Texture2D 获取位图。 Implementation     publ...

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

3. laya.display.Stage [ 93%]

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

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

4. laya.display.Sprite [ 89%]

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

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

5. laya.ui.Clip [ 88%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点心点。UIComponent  autoPlay : Boolean 表示是否...

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

6. laya.ui.UIComponent [ 85%]

...lpha值会影响drawcall。Sprite  anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点心点。UIComponent  anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点心点。UIComponent autoSize : Boolean = false 指...

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

7. laya.html.dom.HTMLDivElement [ 85%]

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

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

8. laya.ui.Image [ 85%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点心点。UIComponent autoSize : Boolean = false 指定...

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

9. laya.ui.ProgressBar [ 85%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点心点。UIComponent autoSize : Boolean = false 指定...

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

10. laya.ui.Panel [ 83%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点心点。UIComponent autoSize : Boolean = false 指定...

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