@@ -15,8 +15,8 @@ import (
1515//var entityDisplayFontFace *canvas.FontFace
1616
1717var entityDisplayAreaDamageStyle = canvas.Style {
18- FillColor : color.RGBA {100 , 0 , 0 , 100 },
19- StrokeColor : canvas .Transparent ,
18+ Fill : canvas. Paint { Color : color.RGBA {100 , 0 , 0 , 100 } },
19+ Stroke : canvas.Paint {} ,
2020 StrokeWidth : 1.0 ,
2121 StrokeCapper : canvas .ButtCap ,
2222 StrokeJoiner : canvas .MiterJoin ,
@@ -26,8 +26,8 @@ var entityDisplayAreaDamageStyle = canvas.Style{
2626}
2727
2828var entityDisplayMaterialAreaCheckerStyle = canvas.Style {
29- FillColor : color.RGBA {0 , 0 , 127 , 127 },
30- StrokeColor : canvas .Transparent ,
29+ Fill : canvas. Paint { Color : color.RGBA {0 , 0 , 127 , 127 } },
30+ Stroke : canvas.Paint {} ,
3131 StrokeWidth : 1.0 ,
3232 StrokeCapper : canvas .ButtCap ,
3333 StrokeJoiner : canvas .MiterJoin ,
@@ -37,8 +37,8 @@ var entityDisplayMaterialAreaCheckerStyle = canvas.Style{
3737}
3838
3939var entityDisplayTeleportStyle = canvas.Style {
40- FillColor : color.RGBA {0 , 127 , 0 , 127 },
41- StrokeColor : canvas .Transparent ,
40+ Fill : canvas. Paint { Color : color.RGBA {0 , 127 , 0 , 127 } },
41+ Stroke : canvas.Paint {} ,
4242 StrokeWidth : 1.0 ,
4343 StrokeCapper : canvas .ButtCap ,
4444 StrokeJoiner : canvas .MiterJoin ,
@@ -48,8 +48,8 @@ var entityDisplayTeleportStyle = canvas.Style{
4848}
4949
5050var entityDisplayHitBoxStyle = canvas.Style {
51- FillColor : color.RGBA {64 , 64 , 0 , 64 },
52- StrokeColor : color.RGBA {0 , 0 , 0 , 64 },
51+ Fill : canvas. Paint { Color : color.RGBA {64 , 64 , 0 , 64 } },
52+ Stroke : canvas. Paint { Color : color.RGBA {0 , 0 , 0 , 64 } },
5353 StrokeWidth : 1.0 ,
5454 StrokeCapper : canvas .ButtCap ,
5555 StrokeJoiner : canvas .MiterJoin ,
@@ -59,8 +59,8 @@ var entityDisplayHitBoxStyle = canvas.Style{
5959}
6060
6161var entityDisplayCollisionTriggerStyle = canvas.Style {
62- FillColor : color.RGBA {0 , 64 , 64 , 64 },
63- StrokeColor : color.RGBA {0 , 0 , 0 , 64 },
62+ Fill : canvas. Paint { Color : color.RGBA {0 , 64 , 64 , 64 } },
63+ Stroke : canvas. Paint { Color : color.RGBA {0 , 0 , 0 , 64 } },
6464 StrokeWidth : 1.0 ,
6565 StrokeCapper : canvas .ButtCap ,
6666 StrokeJoiner : canvas .MiterJoin ,
0 commit comments