CIDisintegrateWithMaskTransition

Trait CIDisintegrateWithMaskTransition 

Source
pub unsafe trait CIDisintegrateWithMaskTransition: CITransitionFilter {
    // Provided methods
    unsafe fn maskImage(&self) -> Option<Retained<CIImage>>
       where Self: Sized + Message { ... }
    unsafe fn setMaskImage(&self, mask_image: Option<&CIImage>)
       where Self: Sized + Message { ... }
    unsafe fn shadowRadius(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setShadowRadius(&self, shadow_radius: c_float)
       where Self: Sized + Message { ... }
    unsafe fn shadowDensity(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setShadowDensity(&self, shadow_density: c_float)
       where Self: Sized + Message { ... }
    unsafe fn shadowOffset(&self) -> CGPoint
       where Self: Sized + Message { ... }
    unsafe fn setShadowOffset(&self, shadow_offset: CGPoint)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Disintegrate With Mask filter.

Transitions from one image to another using the shape defined by a mask.

See also Apple’s documentation

Provided Methods§

Source

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

Available on crate feature CIImage only.

An image that defines the shape to use when disintegrating from the source to the target image.

Source

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

Available on crate feature CIImage only.

Setter for maskImage.

Source

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

The radius of the shadow created by the mask.

Source

unsafe fn setShadowRadius(&self, shadow_radius: c_float)
where Self: Sized + Message,

Setter for shadowRadius.

Source

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

The density of the shadow created by the mask.

Source

unsafe fn setShadowDensity(&self, shadow_density: c_float)
where Self: Sized + Message,

Setter for shadowDensity.

Source

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

Available on crate feature objc2-core-foundation only.

The offset of the shadow created by the mask.

Source

unsafe fn setShadowOffset(&self, shadow_offset: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for shadowOffset.

Trait Implementations§

Source§

impl ProtocolType for dyn CIDisintegrateWithMaskTransition

Source§

const NAME: &'static str = "CIDisintegrateWithMaskTransition"

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 CIDisintegrateWithMaskTransition

Implementations on Foreign Types§

Source§

impl<T> CIDisintegrateWithMaskTransition for ProtocolObject<T>

Implementors§