CIRippleTransition

Trait CIRippleTransition 

Source
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§

Source

unsafe fn shadingImage(&self) -> Option<Retained<CIImage>>
where Self: Sized + Message,

Available on crate feature CIImage only.

An image that looks like a shaded sphere enclosed in a square image.

Source

unsafe fn setShadingImage(&self, shading_image: Option<&CIImage>)
where Self: Sized + Message,

Available on crate feature CIImage only.

Setter for shadingImage.

Source

unsafe fn center(&self) -> CGPoint
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

The center of the effect as x and y pixel coordinates.

Source

unsafe fn setCenter(&self, center: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for center.

Source

unsafe fn extent(&self) -> CGRect
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

A rectangle that defines the extent of the effect.

Source

unsafe fn setExtent(&self, extent: CGRect)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for extent.

Source

unsafe fn width(&self) -> c_float
where Self: Sized + Message,

The width of the ripple.

Source

unsafe fn setWidth(&self, width: c_float)
where Self: Sized + Message,

Setter for width.

Source

unsafe fn scale(&self) -> c_float
where Self: Sized + Message,

A value that determines whether the ripple starts as a bulge (higher value) or a dimple (lower value).

Source

unsafe fn setScale(&self, scale: c_float)
where Self: Sized + Message,

Setter for scale.

Trait Implementations§

Source§

impl ProtocolType for dyn CIRippleTransition

Source§

const NAME: &'static str = "CIRippleTransition"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn CIRippleTransition

Implementations on Foreign Types§

Source§

impl<T> CIRippleTransition for ProtocolObject<T>

Implementors§