Forum

SkiaPaint

I am confused on how the combination of Stroke and Fill (SkiaPaint) works.
If i connect stroke - fill - element the stroke setting is overruled by the fill setting.
If i connect it the other way fill - stroke - skiaelement the stroke setting overwrites the fill setting.
Is there a way to combine both settings and just draw one skia-element?

I am using 2020.2.2.

hey kathi, your intuition is obvious, but i am afraid fill and stroke cannot be combined on one primitive. ie. if you want to draw a rectangle stroked and filled, you need to use two rectangle nodes!

if stroke and fill are the same color, you can do this:
image

Thx. I understand. Two different colors for fill and stroke - two objects.