func clip(to: Path, style: FillStyle , options: GraphicsContext .ClipOptions )
Adds a path to the context’s array of clip shapes.
func clipToLayer (opacity: Double, options: GraphicsContext .ClipOptions , content: (inout GraphicsContext ) throws -> Void) rethrows
Adds a clip shape that you define in a new layer to the context’s array of clip shapes.
struct ClipOptions
Options that affect the use of clip shapes.