Repository navigation
Text watermark background color #1649
Answered by
JimBobSquarePants
Jun 2, 2021
Replies: 1 comment 9 replies
processingContext.BackgroundColor(Color.Black);
return processingContext.DrawText(options, text, scaledFont, color, bottomRight);You're asking context here to set the background color of the image not of the rectangle where the text shall be drawn. |
9 replies
Answer selected by
dobras
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


You're asking context here to set the background color of the image not of the rectangle where the text shall be drawn.
You should draw a rectangle at the desired location, then draw the text.