CIPerspectiveTile

Trait CIPerspectiveTile 

Source
pub unsafe trait CIPerspectiveTile: 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 topLeft(&self) -> CGPoint
       where Self: Sized + Message { ... }
    unsafe fn setTopLeft(&self, top_left: CGPoint)
       where Self: Sized + Message { ... }
    unsafe fn topRight(&self) -> CGPoint
       where Self: Sized + Message { ... }
    unsafe fn setTopRight(&self, top_right: CGPoint)
       where Self: Sized + Message { ... }
    unsafe fn bottomRight(&self) -> CGPoint
       where Self: Sized + Message { ... }
    unsafe fn setBottomRight(&self, bottom_right: CGPoint)
       where Self: Sized + Message { ... }
    unsafe fn bottomLeft(&self) -> CGPoint
       where Self: Sized + Message { ... }
    unsafe fn setBottomLeft(&self, bottom_left: CGPoint)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Perspective Tile filter.

Applies a perspective transform to an image and then tiles the result.

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

Available on crate feature objc2-core-foundation only.

The top left coordinate of a tile.

Source

unsafe fn setTopLeft(&self, top_left: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for topLeft.

Source

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

Available on crate feature objc2-core-foundation only.

The top right coordinate of a tile.

Source

unsafe fn setTopRight(&self, top_right: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for topRight.

Source

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

Available on crate feature objc2-core-foundation only.

The bottom right coordinate of a tile.

Source

unsafe fn setBottomRight(&self, bottom_right: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for bottomRight.

Source

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

Available on crate feature objc2-core-foundation only.

The bottom left coordinate of a tile.

Source

unsafe fn setBottomLeft(&self, bottom_left: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for bottomLeft.

Trait Implementations§

Source§

impl ProtocolType for dyn CIPerspectiveTile

Source§

const NAME: &'static str = "CIPerspectiveTile"

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 CIPerspectiveTile

Implementations on Foreign Types§

Source§

impl<T> CIPerspectiveTile for ProtocolObject<T>

Implementors§