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§
Sourceunsafe fn maskImage(&self) -> Option<Retained<CIImage>>
Available on crate feature CIImage only.
unsafe fn maskImage(&self) -> Option<Retained<CIImage>>
CIImage only.An image that defines the shape to use when disintegrating from the source to the target image.
Sourceunsafe fn setMaskImage(&self, mask_image: Option<&CIImage>)
Available on crate feature CIImage only.
unsafe fn setMaskImage(&self, mask_image: Option<&CIImage>)
CIImage only.Setter for maskImage.
Sourceunsafe fn shadowRadius(&self) -> c_float
unsafe fn shadowRadius(&self) -> c_float
The radius of the shadow created by the mask.
Sourceunsafe fn setShadowRadius(&self, shadow_radius: c_float)
unsafe fn setShadowRadius(&self, shadow_radius: c_float)
Setter for shadowRadius.
Sourceunsafe fn shadowDensity(&self) -> c_float
unsafe fn shadowDensity(&self) -> c_float
The density of the shadow created by the mask.
Sourceunsafe fn setShadowDensity(&self, shadow_density: c_float)
unsafe fn setShadowDensity(&self, shadow_density: c_float)
Setter for shadowDensity.
Sourceunsafe fn shadowOffset(&self) -> CGPoint
Available on crate feature objc2-core-foundation only.
unsafe fn shadowOffset(&self) -> CGPoint
objc2-core-foundation only.The offset of the shadow created by the mask.
Sourceunsafe fn setShadowOffset(&self, shadow_offset: CGPoint)
Available on crate feature objc2-core-foundation only.
unsafe fn setShadowOffset(&self, shadow_offset: CGPoint)
objc2-core-foundation only.Setter for shadowOffset.