CIAffineTile

Trait CIAffineTile 

Source
pub unsafe trait CIAffineTile: CIFilterProtocol {
    // Provided methods
    unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
       where Self: Sized + Message { ... }
    unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
       where Self: Sized + Message { ... }
    unsafe fn transform(&self) -> CGAffineTransform
       where Self: Sized + Message { ... }
    unsafe fn setTransform(&self, transform: CGAffineTransform)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Affine Tile filter.

Applies an affine transformation to an image and then tiles the transformed image.

See also Apple’s documentation

Provided Methods§

Source

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

Available on crate feature CIImage only.

The image to use as an input for the effect.

Source

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

Available on crate feature CIImage only.

Setter for inputImage.

Source

unsafe fn transform(&self) -> CGAffineTransform
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

The transform to apply to the image.

Source

unsafe fn setTransform(&self, transform: CGAffineTransform)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for transform.

Trait Implementations§

Source§

impl ProtocolType for dyn CIAffineTile

Source§

const NAME: &'static str = "CIAffineTile"

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 CIAffineTile
where T: ?Sized + Message + CIAffineTile,

Implementations on Foreign Types§

Source§

impl<T> CIAffineTile for ProtocolObject<T>
where T: ?Sized + CIAffineTile,

Implementors§