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

大约有 63 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0056 秒)

1. laya.display.Graphics [ 100%]

...cs Object Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方式存储,可以通过cmds属性访问所有...

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

2. laya.display.cmd.StrokeTextCmd [ 94%]

....display.cmdClasspublic class StrokeTextCmdInheritanceStrokeTextCmd Object 绘制描边文字 Public Properties PropertyDefined By  color : String 定义文本颜色,比如"#ff0000"。 StrokeTextCmd  font : String 定义字体和字号,比如"20px Arial"。 StrokeTextCmd  lineWidth : Numb...

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

3. laya.display.cmd.FillBorderTextCmd [ 94%]

....cmdClasspublic class FillBorderTextCmdInheritanceFillBorderTextCmd Object 绘制文本边框 Public Properties PropertyDefined By  borderColor : String 定义镶边文本颜色。 FillBorderTextCmd  fillColor : String 定义文本颜色,比如"#ff0000"。 FillBorderTextCmd  font : String ...

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

4. laya.display.cmd.FillTextCmd [ 93%]

...laya.display.cmdClasspublic class FillTextCmdInheritanceFillTextCmd Object 绘制文字 Public Properties PropertyDefined By  color : String 定义文本颜色,比如"#ff0000"。 FillTextCmd  font : String 定义字号和字体,比如"20px Arial"。 FillTextCmd  text : String 在画布上...

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

5. laya.display.Sprite [ 90%]

...e 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设...

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

6. laya.display.cmd.DrawTexturesCmd [ 89%]

...c class DrawTexturesCmdInheritanceDrawTexturesCmd Object 根据坐标集合绘制多个贴图 Public Properties PropertyDefined By  pos : Array 绘制次数和坐标。 DrawTexturesCmd  texture : Texture 纹理。 DrawTexturesCmdPublic Methods  MethodDefined By  recover():void 回收到对...

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

7. laya.map.MapLayer [ 88%]

...数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使...

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

8. laya.ani.bone.Skeleton [ 88%]

...数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使...

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

9. laya.physics.PhysicsDebugDraw [ 87%]

...数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使...

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

10. laya.map.GridSprite [ 87%]

...数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使...

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