CIAreaBoundsRed

Trait CIAreaBoundsRed 

Source
pub unsafe trait CIAreaBoundsRed: CIAreaReductionFilter { }
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Area Bounds Red filter.

Calculates the approximate bounding box of pixels within the specified area of an image where the red component values are non-zero. The result is 1x1 pixel image where the RGBA values contain the normalized X,Y,W,H dimensions of the bounding box.

See also Apple’s documentation

Trait Implementations§

Source§

impl ProtocolType for dyn CIAreaBoundsRed

Source§

const NAME: &'static str = "CIAreaBoundsRed"

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 CIAreaBoundsRed

Implementations on Foreign Types§

Source§

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

Implementors§