2
Answers

Custom background in control

Jack J

Jack J

14y
8k
1

Hi,

I have created control where one of children is a canvas. What i am trying to do is to color the canvas background pixel by pixel, calculating color for each pixel. What is more i would like to dynamically refresh background color. 

What will be the best solution to solve my problem? Should I inherits Brush class? If yes, could you provide me some examples or sources of knowledge? Or maybe canvas has method, which can be overridden?

all the best

Jack :)

Answers (2)