pub unsafe trait CIFlashTransition: CITransitionFilter {
Show 14 methods
// Provided methods
unsafe fn center(&self) -> CGPoint
where Self: Sized + Message { ... }
unsafe fn setCenter(&self, center: CGPoint)
where Self: Sized + Message { ... }
unsafe fn extent(&self) -> CGRect
where Self: Sized + Message { ... }
unsafe fn setExtent(&self, extent: CGRect)
where Self: Sized + Message { ... }
unsafe fn color(&self) -> Retained<CIColor>
where Self: Sized + Message { ... }
unsafe fn setColor(&self, color: &CIColor)
where Self: Sized + Message { ... }
unsafe fn maxStriationRadius(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setMaxStriationRadius(&self, max_striation_radius: c_float)
where Self: Sized + Message { ... }
unsafe fn striationStrength(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setStriationStrength(&self, striation_strength: c_float)
where Self: Sized + Message { ... }
unsafe fn striationContrast(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setStriationContrast(&self, striation_contrast: c_float)
where Self: Sized + Message { ... }
unsafe fn fadeThreshold(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setFadeThreshold(&self, fade_threshold: c_float)
where Self: Sized + Message { ... }
}CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Flash filter.
Transitions from one image to another by creating a flash. The flash originates from a point you specify. Small at first, it rapidly expands until the image frame is completely filled with the flash color. As the color fades, the target image begins to appear.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn center(&self) -> CGPoint
Available on crate feature objc2-core-foundation only.
unsafe fn center(&self) -> CGPoint
objc2-core-foundation only.The center of the effect as x and y pixel coordinates.
Sourceunsafe fn setCenter(&self, center: CGPoint)
Available on crate feature objc2-core-foundation only.
unsafe fn setCenter(&self, center: CGPoint)
objc2-core-foundation only.Setter for center.
Sourceunsafe fn extent(&self) -> CGRect
Available on crate feature objc2-core-foundation only.
unsafe fn extent(&self) -> CGRect
objc2-core-foundation only.The extent of the flash.
Sourceunsafe fn setExtent(&self, extent: CGRect)
Available on crate feature objc2-core-foundation only.
unsafe fn setExtent(&self, extent: CGRect)
objc2-core-foundation only.Setter for extent.
Sourceunsafe fn color(&self) -> Retained<CIColor>
Available on crate feature CIColor only.
unsafe fn color(&self) -> Retained<CIColor>
CIColor only.The color of the light rays emanating from the flash.
Sourceunsafe fn setColor(&self, color: &CIColor)
Available on crate feature CIColor only.
unsafe fn setColor(&self, color: &CIColor)
CIColor only.Setter for color.
Sourceunsafe fn maxStriationRadius(&self) -> c_float
unsafe fn maxStriationRadius(&self) -> c_float
The radius of the light rays emanating from the flash.
Sourceunsafe fn setMaxStriationRadius(&self, max_striation_radius: c_float)
unsafe fn setMaxStriationRadius(&self, max_striation_radius: c_float)
Setter for maxStriationRadius.
Sourceunsafe fn striationStrength(&self) -> c_float
unsafe fn striationStrength(&self) -> c_float
The strength of the light rays emanating from the flash.
Sourceunsafe fn setStriationStrength(&self, striation_strength: c_float)
unsafe fn setStriationStrength(&self, striation_strength: c_float)
Setter for striationStrength.
Sourceunsafe fn striationContrast(&self) -> c_float
unsafe fn striationContrast(&self) -> c_float
The contrast of the light rays emanating from the flash.
Sourceunsafe fn setStriationContrast(&self, striation_contrast: c_float)
unsafe fn setStriationContrast(&self, striation_contrast: c_float)
Setter for striationContrast.
Sourceunsafe fn fadeThreshold(&self) -> c_float
unsafe fn fadeThreshold(&self) -> c_float
The amount of fade between the flash and the target image. The higher the value, the more flash time and the less fade time.
Sourceunsafe fn setFadeThreshold(&self, fade_threshold: c_float)
unsafe fn setFadeThreshold(&self, fade_threshold: c_float)
Setter for fadeThreshold.