davidgutierrezrubio / jmathanim

A Java library to make mathematical animations
https://davidgutierrezrubio.github.io/jmathanim/
20 stars 2 forks source link

How to make stop-opacity and fill-rule work? #19

Open rensx opened 2 months ago

davidgutierrezrubio commented 2 months ago

Sorry I don't understand your question

rensx commented 2 months ago

It seems grandient color class don't support stop-opacity(transparent). **

  <stop offset="50%" stop-color="black" stop-opacity="0" />
  <stop offset="100%" stop-color="blue" />
</linearGradient>**

fill-rule: fill-rule="evenodd" <polygon fill-rule="evenodd" stroke="red" points="150,0 121,90 198,35 102,35 179,90" />