pub unsafe trait CIBlurredRectangleGenerator: CIFilterProtocol {
// Provided methods
unsafe fn extent(&self) -> CGRect
where Self: Sized + Message { ... }
unsafe fn setExtent(&self, extent: CGRect)
where Self: Sized + Message { ... }
unsafe fn sigma(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setSigma(&self, sigma: c_float)
where Self: Sized + Message { ... }
unsafe fn color(&self) -> Retained<CIColor>
where Self: Sized + Message { ... }
unsafe fn setColor(&self, color: &CIColor)
where Self: Sized + Message { ... }
}Available on crate features
CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Blurred Rectangle Generator filter.
Generates a blurred rectangle image with the specified extent, blur sigma, and color.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn extent(&self) -> CGRect
Available on crate feature objc2-core-foundation only.
unsafe fn extent(&self) -> CGRect
objc2-core-foundation only.A rectangle that defines the extent of the effect.
Sourceunsafe fn setExtent(&self, extent: CGRect)
Available on crate feature objc2-core-foundation only.
unsafe fn setExtent(&self, extent: CGRect)
objc2-core-foundation only.Setter for extent.