Type Method

shapeWithRect:

Creates a filter shape object and initializes it with a rectangle.

Declaration

+ (instancetype)shapeWithRect:(CGRect)r;

Parameters

r

A rectangle. The filter shape object will contain the smallest integral rectangle specified by this argument.

See Also