The transparency( alpha) of color set in [drawForegroundWithOptions] dose not work

The transparency( alpha) of color set in [drawForegroundWithOptions] of [repoters plugin] does not work. No matter how the transparency is adjusted, the path cannot be displayed and is covered.

Can you share the code snippet where the color is set? How do you set the alpha value of the color? In what method (foreground/background) do you perform the drawing?

I found the reason. I mistakenly used NSRectFill. :grin: