CIPageCurlTransition

Trait CIPageCurlTransition 

Source
pub unsafe trait CIPageCurlTransition: CITransitionFilter {
    // Provided methods
    unsafe fn backsideImage(&self) -> Option<Retained<CIImage>>
       where Self: Sized + Message { ... }
    unsafe fn setBacksideImage(&self, backside_image: Option<&CIImage>)
       where Self: Sized + Message { ... }
    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 extent(&self) -> CGRect
       where Self: Sized + Message { ... }
    unsafe fn setExtent(&self, extent: CGRect)
       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 radius(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setRadius(&self, radius: c_float)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Page Curl filter.

Transitions from one image to another by simulating a curling page, revealing the new image as the page curls.

See also Apple’s documentation

Provided Methods§

Source

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

Available on crate feature CIImage only.

The image that appears on the back of the source image, as the page curls to reveal the target image.

Source

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

Available on crate feature CIImage only.

Setter for backsideImage.

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 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 angle(&self) -> c_float
where Self: Sized + Message,

The angle in radians of the curling page.

Source

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

Setter for angle.

Source

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

The radius of the curl.

Source

unsafe fn setRadius(&self, radius: c_float)
where Self: Sized + Message,

Setter for radius.

Trait Implementations§

Source§

impl ProtocolType for dyn CIPageCurlTransition

Source§

const NAME: &'static str = "CIPageCurlTransition"

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 CIPageCurlTransition

Implementations on Foreign Types§

Source§

impl<T> CIPageCurlTransition for ProtocolObject<T>

Implementors§