CIAffineClamp

Trait CIAffineClamp 

Source
pub unsafe trait CIAffineClamp: 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 Clamp filter.

Performs an affine transformation on a source image and then clamps the pixels at the edge of the transformed image, extending them outwards. This filter performs similarly to the “Affine Transform” filter except that it produces an image with infinite extent. You can use this filter when you need to blur an image but you want to avoid a soft, black fringe along the edges.

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 CIAffineClamp

Source§

const NAME: &'static str = "CIAffineClamp"

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

Implementations on Foreign Types§

Source§

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

Implementors§