Contents

invertsAlpha

An option that causes the filter to invert the alpha of the shadow.

Declaration

static var invertsAlpha: GraphicsContext.ShadowOptions { get }

Discussion

You can create an “inner shadow” effect by combining this option with shadowAbove and using the sourceAtop blend mode.

See Also

Getting shadow options