大约有 6 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0018 秒)
...perties PropertyDefined By color : String 定义文本颜色,比如"#ff0000"。 StrokeTextCmd font : String 定义字体和字号,比如"20px Arial"。 StrokeTextCmd lineWidth : Number 线条宽度。 StrokeTextCmd text : String 在画布上输出的文本。 StrokeTextCmd textAl...
来源: Laya2.0_api 发布时间: 20190513
... brush : Object (可选)刷子定义,支持以下设置{fillStyle:"#FF0000"}。 DrawPathCmd paths : Array 路径集合,路径支持以下格式:[["moveTo",x,y],["lineTo",x,y],["arcTo",x1,y1,x2,y2,r],["closePath"]]。 DrawPathCmd pen : Object (可选)画笔定义,支持以下...
来源: Laya2.0_api 发布时间: 20190513
...。 FillBorderTextCmd fillColor : String 定义文本颜色,比如"#ff0000"。 FillBorderTextCmd font : String 定义字体和字号,比如"20px Arial"。 FillBorderTextCmd lineWidth : Number 镶边线条宽度。 FillBorderTextCmd text : String 在画布上输出的文本。 FillBor...
来源: Laya2.0_api 发布时间: 20190513
...perties PropertyDefined By color : String 定义文本颜色,比如"#ff0000"。 FillTextCmd font : String 定义字号和字体,比如"20px Arial"。 FillTextCmd text : String 在画布上输出的文本。 FillTextCmd textAlign : String 文本对齐方式,可选值:"left","ce...
来源: Laya2.0_api 发布时间: 20190513
...ber, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):FillTextureCmd 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics load...
来源: Laya2.0_api 发布时间: 20190513
...大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字体描边宽度 strokeColor:#ff0000; 字体描边颜色 padding:10px 10px 20px 20px; 边缘的距离 vertical-align:top|bottom|middle; 垂直对齐方式 align:left|right|center; 水平对...
来源: Laya2.0_api 发布时间: 20190513