Contents

union(with:)

Creates a filter shape that results from the union of the current filter shape and a rectangle.

Declaration

func union(with r: CGRect) -> CIFilterShape

Parameters

  • r:

    A rectangle. Core Image uses the rectangle specified by integer parts of the width and height.

See Also

Modifying a Filter Shape