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

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

1. laya.display.cmd.DrawCircleCmd [ 100%]

...Object 绘制圆形 Public Properties PropertyDefined By  fillColor : * 填充颜色,或者填充绘图的渐变对象。 DrawCircleCmd  lineColor : * (可选)边框颜色,或者填充绘图的渐变对象。 DrawCircleCmd  lineWidth : Number (可选)边框宽度。 DrawCircleCmd...

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

2. laya.display.cmd.DrawPolyCmd [ 99%]

...ect 绘制多边形 Public Properties PropertyDefined By  fillColor : * 填充颜色,或者填充绘图的渐变对象。 DrawPolyCmd  lineColor : * (可选)边框颜色,或者填充绘图的渐变对象。 DrawPolyCmd  lineWidth : Number 可选)边框宽度。 DrawPolyCmd  points...

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

3. laya.display.cmd.DrawRectCmd [ 99%]

...Object 绘制矩形 Public Properties PropertyDefined By  fillColor : * 填充颜色,或者填充绘图的渐变对象。 DrawRectCmd  height : Number 矩形高度。 DrawRectCmd  lineColor : * (可选)边框颜色,或者填充绘图的渐变对象。 DrawRectCmd  lineWidth : Number...

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

4. laya.display.cmd.DrawPieCmd [ 98%]

...efined By  endAngle : Number 结束角度。 DrawPieCmd  fillColor : * 填充颜色,或者填充绘图的渐变对象。 DrawPieCmd  lineColor : * (可选)边框颜色,或者填充绘图的渐变对象。 DrawPieCmd  lineWidth : Number (可选)边框宽度。 DrawPieCmd  radius...

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

5. laya.display.Graphics [ 97%]

...eWidth:Number, textAlign:String):FillBorderTextCmd 在画布上绘制“被填充且镶边的”文本。 Graphics  fillText(text:String, x:Number, y:Number, font:String, color:String, textAlign:String):FillTextCmd 在画布上绘制文本。 Graphics  fillTexture(texture:Texture, x:Number, y:Nu...

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

6. laya.ui.UIUtils [ 93%]

...lArray(arr:Array, str:String, type:Class = null):Array[static] 用字符串填充数组,并返回数组副本。 UIUtils  gray(traget:Sprite, isGray:Boolean = true):void[static] 给指定的目标显示对象添加或移除灰度滤镜。 UIUtils  toColor(color:uint):String[static] 转换uint...

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

7. laya.ui.AutoBitmap [ 86%]

...象。 数据格式:[上边距,右边距,下边距,左边距,是否重复填充(值为0:不重复填充,1:重复填充)]。 例如:[4,4,4,4,1] sizeGrid 的值如下所示: 上边距 右边距 下边距 左边距 是否重复填充(值为0:不重复填充,1:重复填充) 当定义 s...

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

8. laya.display.cmd.DrawCurvesCmd [ 82%]

...ublic Properties PropertyDefined By  lineColor : * 线段颜色,或者填充绘图的渐变对象。 DrawCurvesCmd  lineWidth : Number (可选)线段宽度。 DrawCurvesCmd  points : Array 线段的点集合,格式[controlX, controlY, anchorX, anchorY...]。 DrawCurvesCmd  x : Numbe...

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

9. laya.display.cmd.DrawLinesCmd [ 82%]

...ublic Properties PropertyDefined By  lineColor : * 线段颜色,或者填充绘图的渐变对象。 DrawLinesCmd  lineWidth : Number (可选)线段宽度。 DrawLinesCmd  points : Array 线段的点集合。格式:[x1,y1,x2,y2,x3,y3...]。 DrawLinesCmd  x : Number 开始绘制的X轴...

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

10. laya.ui.ComboBox [ 64%]

...据。 数据格式:"上边距,右边距,下边距,左边距,是否重复填充(值为0:不重复填充,1:重复填充)",以逗号分隔。 例如:"4,4,4,4,1" ComboBox skewX : Number水平倾斜角度,默认值为0。以角度为单位。Sprite skewY : Number垂直倾斜角度,默...

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