CIBarsSwipeTransition

Trait CIBarsSwipeTransition 

Source
pub unsafe trait CIBarsSwipeTransition: CITransitionFilter {
    // Provided methods
    unsafe fn angle(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setAngle(&self, angle: c_float)
       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 barOffset(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setBarOffset(&self, bar_offset: c_float)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Bars Swipe Transition filter.

Transitions from one image to another by swiping rectangular portions of the foreground image to disclose the target image.

See also Apple’s documentation

Provided Methods§

Source

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

The angle in radians of the bars.

Source

unsafe fn setAngle(&self, angle: c_float)
where Self: Sized + Message,

Setter for angle.

Source

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

The width of each bar.

Source

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

Setter for width.

Source

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

The offset of one bar with respect to another.

Source

unsafe fn setBarOffset(&self, bar_offset: c_float)
where Self: Sized + Message,

Setter for barOffset.

Trait Implementations§

Source§

impl ProtocolType for dyn CIBarsSwipeTransition

Source§

const NAME: &'static str = "CIBarsSwipeTransition"

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 CIBarsSwipeTransition

Implementations on Foreign Types§

Source§

impl<T> CIBarsSwipeTransition for ProtocolObject<T>

Implementors§