时间:2020-02-14来源:系统城作者:电脑系统城
this.bgShape = new egret.Shape();
this.bgShape.width = w;
this.bgShape.height = h;
let $max: egret.Matrix = this.bgShape.matrix;
$max.a = $max.d = 0;
$max.c = $max.b = 1;
this.bgShape.graphics.beginGradientFill(egret.GradientType.LINEAR, [0xFF0000, 0xD7F0FC], [1.0, 1.0], [0, this.bgShape.height / 3], $max);
this.bgShape.graphics.drawRoundRect(0, 0, this.bgShape.width, this.bgShape.height, 40, 40);
this.bgShape.graphics.endFill();
结果:
注意 : 
2026-06-09
win10系统以太网连接图标不见了怎么办 Win10 / Win11 找不到以太网通用解决方法2024-04-11
台式机电脑如何连接外接显示器2024-04-11
小新系列打印机手机配置网络的方法教程一、40系列之后机型 X(250、240s、240、230s) X1 carbon(20BT/20BS) YOGA 11e T(550、540p、450s、450、440s、440p、440、431s) W(550s、540、541) L(450、440、550) E(550、55...
2024-04-11
ThinkPad蓝牙鼠标如何配对解答步骤41U5008鼠标驱动官网地址: https://support.lenovo.com/en_US/downloads/detail.page?&LegacyDocID=MIGR-67201 第一种方式是比较传统的:使...
2024-04-11