0
:キャンバスのシャドウ/グロー効果は半透明の形になっていますか?私は半透明の形状を有して
this.cx.beginPath();
this.cx.globalAlpha = .1;
this.cx.fillStyle = gradientFill;
this.cx.strokeStyle = gradientStroke;
this.cx.arc(150, 150, 139, 0, Math.PI * 2, true);
this.cx.lineWidth = 1;
this.cx.stroke();
this.cx.fill();
私は影のビットを追加したいが、私は唯一の形状の外に表示されるまでそれをしたい、私は影よりも輝きの多くを推測します。
this.cx.shadowColor = 'rgba(0, 0, 0, .75)';
this.cx.shadowBlur = 5;
this.cx.shadowOffsetX = 5;
this.cx.shadowOffsetY = -5;
半透明の形で暗い影が見えるように普通のように見えます。
ありがとうございます!