Edit Shape : set fillcolor as strokeColor?

82 views
Skip to first unread message

Yves Chevallier

unread,
Oct 28, 2023, 1:38:08 PM10/28/23
to draw.io Q&A
In this example I am trying to fill the ellipse with the default strokeColor. I tried to replace `color="default"`  with `strokeColor`, `invert` but it doesn't quite work. 

<shape h="100" w="100" aspect="variable" strokewidth="inherit">
  <background>
    <rect x="0" y="0" w="100" h="100" />
  </background>
  <foreground>
    <stroke />
    <fillcolor color="default" />
    <ellipse x="0" y="0" w="100" h="100" />
    <fillstroke />
  </foreground>
</shape>

How can I define a filled ellipse that will have the same color as stroke?
Reply all
Reply to author
Forward
0 new messages