Copy link to clipboard
Copied
Hey guys, I'm trying to draw a color wheel on my effect ui, I'm using drawbot, but seems to me that I can only create solid color pen or brush, is there a way to draw gradient fill?
I'm thinking using image element may be a solution, I can create a color wheel png image, then draw the image on my effect panel. but what if I want to draw dynamic gradient color like this,
no such API function.
you'll have to draw it into a buffer by any means, and
use NewImageFromBuffer() to convert to a drawbot image.
Copy link to clipboard
Copied
no such API function.
you'll have to draw it into a buffer by any means, and
use NewImageFromBuffer() to convert to a drawbot image.