|
@@ -204,13 +204,13 @@ export class SFHFQZoneLegendItem extends SPolygonItem {
|
|
|
onDraw(painter: SPainter) {
|
|
|
if (this.maskFlag && this.status == SItemStatus.Normal) {
|
|
|
let color = new SColor(this.strokeColor)
|
|
|
- color.alpha = 100;
|
|
|
+ color.alpha = color.alpha / 2
|
|
|
let brushcolor = new SColor(this.fillColor)
|
|
|
- brushcolor.alpha = 100;
|
|
|
- painter.pen.color = color;
|
|
|
- painter.pen.lineCapStyle = SLineCapStyle.Square;
|
|
|
- painter.pen.lineWidth = painter.toPx(this._lineWidth);
|
|
|
- painter.brush.color = brushcolor;
|
|
|
+ brushcolor.alpha = brushcolor.alpha / 2
|
|
|
+ painter.pen.color = color
|
|
|
+ painter.pen.lineCapStyle = SLineCapStyle.Square
|
|
|
+ painter.pen.lineWidth = painter.toPx(this._lineWidth)
|
|
|
+ painter.brush.color = brushcolor
|
|
|
// @ts-ignore
|
|
|
painter.drawPolygon([...this.pointList]);
|
|
|
} else {
|