pub unsafe trait CINinePartStretched: 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 breakpoint0(&self) -> CGPoint
where Self: Sized + Message { ... }
unsafe fn setBreakpoint0(&self, breakpoint0: CGPoint)
where Self: Sized + Message { ... }
unsafe fn breakpoint1(&self) -> CGPoint
where Self: Sized + Message { ... }
unsafe fn setBreakpoint1(&self, breakpoint1: CGPoint)
where Self: Sized + Message { ... }
unsafe fn growAmount(&self) -> CGPoint
where Self: Sized + Message { ... }
unsafe fn setGrowAmount(&self, grow_amount: CGPoint)
where Self: Sized + Message { ... }
}Available on crate features
CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Nine Part Stretched filter.
Distorts an image by stretching an image based on two input breakpoints.
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 breakpoint0(&self) -> CGPoint
Available on crate feature objc2-core-foundation only.
unsafe fn breakpoint0(&self) -> CGPoint
objc2-core-foundation only.Lower left corner of image to retain before stretching begins.
Sourceunsafe fn setBreakpoint0(&self, breakpoint0: CGPoint)
Available on crate feature objc2-core-foundation only.
unsafe fn setBreakpoint0(&self, breakpoint0: CGPoint)
objc2-core-foundation only.Setter for breakpoint0.
Sourceunsafe fn breakpoint1(&self) -> CGPoint
Available on crate feature objc2-core-foundation only.
unsafe fn breakpoint1(&self) -> CGPoint
objc2-core-foundation only.Upper right corner of image to retain after stretching ends.
Sourceunsafe fn setBreakpoint1(&self, breakpoint1: CGPoint)
Available on crate feature objc2-core-foundation only.
unsafe fn setBreakpoint1(&self, breakpoint1: CGPoint)
objc2-core-foundation only.Setter for breakpoint1.
Sourceunsafe fn growAmount(&self) -> CGPoint
Available on crate feature objc2-core-foundation only.
unsafe fn growAmount(&self) -> CGPoint
objc2-core-foundation only.Vector indicating how much image should grow in pixels in both dimensions.
Sourceunsafe fn setGrowAmount(&self, grow_amount: CGPoint)
Available on crate feature objc2-core-foundation only.
unsafe fn setGrowAmount(&self, grow_amount: CGPoint)
objc2-core-foundation only.Setter for growAmount.