CISwipeTransition

Trait CISwipeTransition 

Source
pub unsafe trait CISwipeTransition: CITransitionFilter {
    // Provided methods
    unsafe fn extent(&self) -> CGRect
       where Self: Sized + Message { ... }
    unsafe fn setExtent(&self, extent: CGRect)
       where Self: Sized + Message { ... }
    unsafe fn color(&self) -> Retained<CIColor>
       where Self: Sized + Message { ... }
    unsafe fn setColor(&self, color: &CIColor)
       where Self: Sized + Message { ... }
    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 opacity(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setOpacity(&self, opacity: c_float)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Swipe filter.

Transitions from one image to another by simulating a swiping action.

See also Apple’s documentation

Provided Methods§

Source

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

Available on crate feature objc2-core-foundation only.

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 color(&self) -> Retained<CIColor>
where Self: Sized + Message,

Available on crate feature CIColor only.

The color of the swipe.

Source

unsafe fn setColor(&self, color: &CIColor)
where Self: Sized + Message,

Available on crate feature CIColor only.

Setter for color.

Source

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

The angle in radians of the swipe.

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 the swipe.

Source

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

Setter for width.

Source

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

The opacity of the swipe.

Source

unsafe fn setOpacity(&self, opacity: c_float)
where Self: Sized + Message,

Setter for opacity.

Trait Implementations§

Source§

impl ProtocolType for dyn CISwipeTransition

Source§

const NAME: &'static str = "CISwipeTransition"

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 CISwipeTransition

Implementations on Foreign Types§

Source§

impl<T> CISwipeTransition for ProtocolObject<T>

Implementors§