CIPageCurlWithShadowTransition

Trait CIPageCurlWithShadowTransition 

Source
pub unsafe trait CIPageCurlWithShadowTransition: CITransitionFilter {
Show 14 methods // 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 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 { ... } unsafe fn shadowSize(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setShadowSize(&self, shadow_size: c_float) where Self: Sized + Message { ... } unsafe fn shadowAmount(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setShadowAmount(&self, shadow_amount: c_float) where Self: Sized + Message { ... } unsafe fn shadowExtent(&self) -> CGRect where Self: Sized + Message { ... } unsafe fn setShadowExtent(&self, shadow_extent: CGRect) where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Page Curl With Shadow 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 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.

Source

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

The maximum size in pixels of the shadow.

Source

unsafe fn setShadowSize(&self, shadow_size: c_float)
where Self: Sized + Message,

Setter for shadowSize.

Source

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

The strength of the shadow.

Source

unsafe fn setShadowAmount(&self, shadow_amount: c_float)
where Self: Sized + Message,

Setter for shadowAmount.

Source

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

Available on crate feature objc2-core-foundation only.

The rectangular portion of input image that will cast a shadow.

Source

unsafe fn setShadowExtent(&self, shadow_extent: CGRect)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for shadowExtent.

Trait Implementations§

Source§

impl ProtocolType for dyn CIPageCurlWithShadowTransition

Source§

const NAME: &'static str = "CIPageCurlWithShadowTransition"

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 CIPageCurlWithShadowTransition

Implementations on Foreign Types§

Source§

impl<T> CIPageCurlWithShadowTransition for ProtocolObject<T>

Implementors§