Contents

inverse

An option to invert the shape or layer alpha as the clip mask.

Declaration

static var inverse: GraphicsContext.ClipOptions { get }

Discussion

When you use this option, SwiftUI uses 1 - alpha instead of alpha for the given clip shape.