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§
Sourceunsafe fn inputImage(&self) -> Option<Retained<CIImage>>
Available on crate feature CIImage only.
unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
CIImage only.The image to use as an input for the effect.
Sourceunsafe fn setInputImage(&self, input_image: Option<&CIImage>)
Available on crate feature CIImage only.
unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
CIImage only.Setter for inputImage.
Sourceunsafe fn transform(&self) -> CGAffineTransform
Available on crate feature objc2-core-foundation only.
unsafe fn transform(&self) -> CGAffineTransform
objc2-core-foundation only.The transform to apply to the image.
Sourceunsafe fn setTransform(&self, transform: CGAffineTransform)
Available on crate feature objc2-core-foundation only.
unsafe fn setTransform(&self, transform: CGAffineTransform)
objc2-core-foundation only.Setter for transform.