pub unsafe trait CIBlurredRoundedRectangleGenerator: CIFilterProtocol {
// Provided methods
unsafe fn extent(&self) -> CGRect
where Self: Sized + Message { ... }
unsafe fn setExtent(&self, extent: CGRect)
where Self: Sized + Message { ... }
unsafe fn radius(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setRadius(&self, radius: c_float)
where Self: Sized + Message { ... }
unsafe fn smoothness(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setSmoothness(&self, smoothness: c_float)
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 Rounded Rectangle Generator filter.
Generates a blurred rounded rectangle image with the specified extent, corner radius, 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.
Sourceunsafe fn smoothness(&self) -> c_float
unsafe fn smoothness(&self) -> c_float
A value to control the smoothness of the transition between the curved and linear edges of the shape.
Sourceunsafe fn setSmoothness(&self, smoothness: c_float)
unsafe fn setSmoothness(&self, smoothness: c_float)
Setter for smoothness.