CICopyMachineTransition

Trait CICopyMachineTransition 

Source
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§

Source

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

Available on crate feature objc2-core-foundation only.

A rectangle that defines 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 color(&self) -> Retained<CIColor>
where Self: Sized + Message,

Available on crate feature CIColor only.

The color of the copier light.

Source

unsafe fn setColor(&self, color: &CIColor)
where Self: Sized + Message,

Available on crate feature CIColor only.

Setter for color.

Source

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

The angle in radians of the copier light.

Source

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

Setter for angle.

Source

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

The width of the copier light.

Source

unsafe fn setWidth(&self, width: c_float)
where Self: Sized + Message,

Setter for width.

Source

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

The opacity of the copier light. A value of 0.0 is transparent. A value of 1.0 is opaque.

Source

unsafe fn setOpacity(&self, opacity: c_float)
where Self: Sized + Message,

Setter for opacity.

Trait Implementations§

Source§

impl ProtocolType for dyn CICopyMachineTransition

Source§

const NAME: &'static str = "CICopyMachineTransition"

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 CICopyMachineTransition

Implementations on Foreign Types§

Source§

impl<T> CICopyMachineTransition for ProtocolObject<T>

Implementors§