intersect(with:)
Creates a filter shape that represents the intersection of the current filter shape and a rectangle.
Declaration
func intersect(with r: CGRect) -> CIFilterShapeParameters
- r:
A rectangle. Core Image uses the rectangle specified by integer parts of the width and height.
Return Value
The filter shape that results from the intersection