pub unsafe trait CIRippleTransition: CITransitionFilter {
// Provided methods
unsafe fn shadingImage(&self) -> Option<Retained<CIImage>>
where Self: Sized + Message { ... }
unsafe fn setShadingImage(&self, shading_image: Option<&CIImage>)
where Self: Sized + Message { ... }
unsafe fn center(&self) -> CGPoint
where Self: Sized + Message { ... }
unsafe fn setCenter(&self, center: CGPoint)
where Self: Sized + Message { ... }
unsafe fn extent(&self) -> CGRect
where Self: Sized + Message { ... }
unsafe fn setExtent(&self, extent: CGRect)
where Self: Sized + Message { ... }
unsafe fn width(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setWidth(&self, width: c_float)
where Self: Sized + Message { ... }
unsafe fn scale(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setScale(&self, scale: c_float)
where Self: Sized + Message { ... }
}Available on crate features
CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Ripple filter.
Transitions from one image to another by creating a circular wave that expands from the center point, revealing the new image in the wake of the wave.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn shadingImage(&self) -> Option<Retained<CIImage>>
Available on crate feature CIImage only.
unsafe fn shadingImage(&self) -> Option<Retained<CIImage>>
CIImage only.An image that looks like a shaded sphere enclosed in a square image.
Sourceunsafe fn setShadingImage(&self, shading_image: Option<&CIImage>)
Available on crate feature CIImage only.
unsafe fn setShadingImage(&self, shading_image: Option<&CIImage>)
CIImage only.Setter for shadingImage.
Sourceunsafe fn center(&self) -> CGPoint
Available on crate feature objc2-core-foundation only.
unsafe fn center(&self) -> CGPoint
objc2-core-foundation only.The center of the effect as x and y pixel coordinates.
Sourceunsafe fn setCenter(&self, center: CGPoint)
Available on crate feature objc2-core-foundation only.
unsafe fn setCenter(&self, center: CGPoint)
objc2-core-foundation only.Setter for center.
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.