Skija
Skija copied to clipboard
How to draw mask image in skija?
I want to draw the two pictures together to realize the function of picture mask, just like css style mask-image , So I want to know if any ways to use mask-image in skaji?
Looking forward to your reply thanks
Good question! I would look into ImageFilter::makeBlend
, specifically one of
/** Source trimmed inside destination. */
SRC_IN,
/** Destination trimmed by source. */
DST_IN,
BlendMode
s