CINinePartTiled

Trait CINinePartTiled 

Source
pub unsafe trait CINinePartTiled: 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 { ... }
    unsafe fn flipYTiles(&self) -> bool
       where Self: Sized + Message { ... }
    unsafe fn setFlipYTiles(&self, flip_y_tiles: bool)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Nine Part Tiled filter.

Distorts an image by tiling an image based on two input breakpoints.

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 breakpoint0(&self) -> CGPoint
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Lower left corner of image to retain before tiling begins.

Source

unsafe fn setBreakpoint0(&self, breakpoint0: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for breakpoint0.

Source

unsafe fn breakpoint1(&self) -> CGPoint
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Upper right corner of image to retain after tiling ends.

Source

unsafe fn setBreakpoint1(&self, breakpoint1: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for breakpoint1.

Source

unsafe fn growAmount(&self) -> CGPoint
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Vector indicating how much image should grow in pixels in both dimensions.

Source

unsafe fn setGrowAmount(&self, grow_amount: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for growAmount.

Source

unsafe fn flipYTiles(&self) -> bool
where Self: Sized + Message,

Indicates that Y-Axis flip should occur.

Source

unsafe fn setFlipYTiles(&self, flip_y_tiles: bool)
where Self: Sized + Message,

Setter for flipYTiles.

Trait Implementations§

Source§

impl ProtocolType for dyn CINinePartTiled

Source§

const NAME: &'static str = "CINinePartTiled"

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 CINinePartTiled

Implementations on Foreign Types§

Source§

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

Implementors§