Show[
Graphics[Polygon[{{0, 0}, {1, 0}, {1, 1}, {0, 1}},VertexColors -> {Opacity[0, Red], Opacity[1, Red], Opacity[1, Red],Opacity[0, Red]}]],
Graphics[Circle[{0.5, 0.5}, 0.2]]
]
Show[
Graphics[{Red, Polygon[{{0, 0}, {1, 0}, {1, 1}, {0, 1}}]}],
Graphics[Circle[{0.5, 0.5}, 0.2]]
]
Where the circle in first one looks bad smoothness. Any method to fix this?
Antialising
trick doesn't work in this case (v9 and v11.3) $\endgroup$