大约有 63 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
...cs Object Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方式存储,可以通过cmds属性访问所有...
来源: Laya2.0_api 发布时间: 20190513
....display.cmdClasspublic class StrokeTextCmdInheritanceStrokeTextCmd Object 绘制描边文字 Public Properties PropertyDefined By color : String 定义文本颜色,比如"#ff0000"。 StrokeTextCmd font : String 定义字体和字号,比如"20px Arial"。 StrokeTextCmd lineWidth : Numb...
来源: Laya2.0_api 发布时间: 20190513
....cmdClasspublic class FillBorderTextCmdInheritanceFillBorderTextCmd Object 绘制文本边框 Public Properties PropertyDefined By borderColor : String 定义镶边文本颜色。 FillBorderTextCmd fillColor : String 定义文本颜色,比如"#ff0000"。 FillBorderTextCmd font : String ...
来源: Laya2.0_api 发布时间: 20190513
...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
...e 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设...
来源: Laya2.0_api 发布时间: 20190513
...c class DrawTexturesCmdInheritanceDrawTexturesCmd Object 根据坐标集合绘制多个贴图 Public Properties PropertyDefined By pos : Array 绘制次数和坐标。 DrawTexturesCmd texture : Texture 纹理。 DrawTexturesCmdPublic Methods MethodDefined By recover():void 回收到对...
来源: Laya2.0_api 发布时间: 20190513
...数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使...
来源: Laya2.0_api 发布时间: 20190513
...数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使...
来源: Laya2.0_api 发布时间: 20190513
...数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使...
来源: Laya2.0_api 发布时间: 20190513
...数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使...
来源: Laya2.0_api 发布时间: 20190513