pub unsafe trait CICopyMachineTransition: 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 Copy Machine filter.
Transitions from one image to another by simulating the effect of a copy machine.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn extent(&self) -> CGRect
Available on crate feature objc2-core-foundation only.
unsafe fn extent(&self) -> CGRect
objc2-core-foundation only.A rectangle that defines the extent of the effect.
Sourceunsafe fn setExtent(&self, extent: CGRect)
Available on crate feature objc2-core-foundation only.
unsafe fn setExtent(&self, extent: CGRect)
objc2-core-foundation only.Setter for extent.
Sourceunsafe fn color(&self) -> Retained<CIColor>
Available on crate feature CIColor only.
unsafe fn color(&self) -> Retained<CIColor>
CIColor only.The color of the copier light.
Sourceunsafe fn setColor(&self, color: &CIColor)
Available on crate feature CIColor only.
unsafe fn setColor(&self, color: &CIColor)
CIColor only.Setter for color.