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

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

21. laya.display.cmd.DrawPolyCmd_API3.0 [ 76%]

... Menu Globals "laya/display/cmd/DrawPolyCmd" DrawPolyCmd Class DrawPolyCmd 绘制多边形 Hierarchy DrawPolyCmd Index Properties fillColor lineColor lineWidth points x y ID Methods recover Properties fillColor fillColor: any Defined in laya/display/cmd/DrawPolyCmd.ts:26 填充颜色,或者填充...

来源: Laya3.0_api 发布时间: 20231115

22. 如何在代码中new Poly [ 75%]

...复 w1114367261 赞同来自: Graphics().drawPoly() /**          * 绘制多边形。          * @param x            开始绘制的 X 轴位置。          * @param y            开始绘制的 Y 轴位置。          * @param points    多边形的点...

来源: Laya_社区 发布时间: 20180507

23. laya.display.cmd.DrawRectCmd_API3.0 [ 74%]

... Menu Globals "laya/display/cmd/DrawRectCmd" DrawRectCmd Class DrawRectCmd 绘制矩形 Hierarchy DrawRectCmd Index Properties fillColor height lineColor lineWidth percent width x y ID Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/display/cmd/DrawRectCmd.ts:31 ...

来源: Laya3.0_api 发布时间: 20231115

24. 报告bug: graphics.drawCircle在layaair调试时,改变外框尺寸,半径未能自适应调整 [ 72%]

...); //将sp移动到横坐标400,纵坐标300的位置 sp.pos(400,300); //绘制两条在sp的原点交叉的直线 sp.graphics.drawLine(-50,0,50,0,'#00ff00',1); sp.graphics.drawLine(0,-50,0,50,'#00ff00',1); //绘制以sp的原点为中心,半径40的圆 sp.graphics.drawCircle(0,0,40,null,'#00ff0...

来源: Laya_社区 发布时间: 20180524

25. laya.display.cmd.DrawPieCmd_API3.0 [ 72%]

...ted Menu Globals "laya/display/cmd/DrawPieCmd" DrawPieCmd Class DrawPieCmd 绘制扇形 Hierarchy DrawPieCmd Index Properties fillColor lineColor lineWidth radius x y ID Accessors endAngle startAngle Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/display/cmd/DrawP...

来源: Laya3.0_api 发布时间: 20231115

26. 分享一个Graphics画圆角矩形的封装 [ 72%]

...isplay {     interface Graphics {         /**          * 绘制圆角矩形。          * @param x   开始绘制的 X 轴位置。          * @param y   开始绘制的 Y 轴位置。          * @param width  矩形宽度。          * @para...

来源: Laya_社区 发布时间: 20210123

27. 绘画圆角矩形的工具,直接用,不用自己去算 [ 69%]

.../** * 绘画圆角矩形 * @param graghics Graghics对象 * @param x 开始绘制的x轴位置 * @param y 开始绘制的y轴位置 * @param width 矩形宽 * @param height 矩形高 * @param roundRadius 圆角半径 * @param fillColor 填充颜色 * @param borderColor 边框填充颜色 * @param bo...

来源: Laya_社区 发布时间: 20190117

28. 请教一下屏幕适配模式还有绘图问题 [ 69%]

请教一下屏幕适配模式还有绘图问题 请问一下为什么我绘制的五角星有锯齿,请问一下怎么改善或者消除。 还有就是,问一下怎么关于屏幕我用的是Broser。ClientWidth以及高度。模式是showall,为什么我分辨率用苹果4看有边框。...

来源: Laya_社区 发布时间: 20161105

29. laya.display.cmd.FillBorderTextCmd [ 68%]

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

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

30. laya.display.cmd.DrawCircleCmd_API3.0 [ 66%]

...Globals "laya/display/cmd/DrawCircleCmd" DrawCircleCmd Class DrawCircleCmd 绘制圆形 Hierarchy DrawCircleCmd Index Properties fillColor lineColor lineWidth percent radius x y ID Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/display/cmd/DrawCircleCmd.ts:27 填...

来源: Laya3.0_api 发布时间: 20231115