renderEffect

The effect draw applies to the recording, or null to draw it as recorded. Defaults to null.

As with androidx's GraphicsLayer.renderEffect, the effect is applied as the recording is drawn and the recording is left as it was: setting this back to null draws it sharp again, and toBufferedImage returns it unaffected. The result is kept for the recording and effect it was made from, so a later draw, under any transform or alpha, applies nothing again until this layer records or is handed an effect that is not equal.