CIStarShineGenerator

Trait CIStarShineGenerator 

Source
pub unsafe trait CIStarShineGenerator: CIFilterProtocol {
Show 16 methods // Provided methods unsafe fn center(&self) -> CGPoint where Self: Sized + Message { ... } unsafe fn setCenter(&self, center: CGPoint) 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 radius(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setRadius(&self, radius: c_float) where Self: Sized + Message { ... } unsafe fn crossScale(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setCrossScale(&self, cross_scale: c_float) where Self: Sized + Message { ... } unsafe fn crossAngle(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setCrossAngle(&self, cross_angle: c_float) where Self: Sized + Message { ... } unsafe fn crossOpacity(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setCrossOpacity(&self, cross_opacity: c_float) where Self: Sized + Message { ... } unsafe fn crossWidth(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setCrossWidth(&self, cross_width: c_float) where Self: Sized + Message { ... } unsafe fn epsilon(&self) -> c_float where Self: Sized + Message { ... } unsafe fn setEpsilon(&self, epsilon: c_float) where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Star Shine filter.

Generates a starburst pattern. The output image is typically used as input to another filter.

See also Apple’s documentation

Provided Methods§

Source

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

Available on crate feature objc2-core-foundation only.

The center of the effect as x and y pixel coordinates.

Source

unsafe fn setCenter(&self, center: CGPoint)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

Setter for center.

Source

unsafe fn color(&self) -> Retained<CIColor>
where Self: Sized + Message,

Available on crate feature CIColor only.

The color to use for the outer shell of the circular star.

Source

unsafe fn setColor(&self, color: &CIColor)
where Self: Sized + Message,

Available on crate feature CIColor only.

Setter for color.

Source

unsafe fn radius(&self) -> c_float
where Self: Sized + Message,

The radius of the star.

Source

unsafe fn setRadius(&self, radius: c_float)
where Self: Sized + Message,

Setter for radius.

Source

unsafe fn crossScale(&self) -> c_float
where Self: Sized + Message,

The size of the cross pattern.

Source

unsafe fn setCrossScale(&self, cross_scale: c_float)
where Self: Sized + Message,

Setter for crossScale.

Source

unsafe fn crossAngle(&self) -> c_float
where Self: Sized + Message,

The angle in radians of the cross pattern.

Source

unsafe fn setCrossAngle(&self, cross_angle: c_float)
where Self: Sized + Message,

Setter for crossAngle.

Source

unsafe fn crossOpacity(&self) -> c_float
where Self: Sized + Message,

The opacity of the cross pattern.

Source

unsafe fn setCrossOpacity(&self, cross_opacity: c_float)
where Self: Sized + Message,

Setter for crossOpacity.

Source

unsafe fn crossWidth(&self) -> c_float
where Self: Sized + Message,

The width of the cross pattern.

Source

unsafe fn setCrossWidth(&self, cross_width: c_float)
where Self: Sized + Message,

Setter for crossWidth.

Source

unsafe fn epsilon(&self) -> c_float
where Self: Sized + Message,

The length of the cross spikes.

Source

unsafe fn setEpsilon(&self, epsilon: c_float)
where Self: Sized + Message,

Setter for epsilon.

Trait Implementations§

Source§

impl ProtocolType for dyn CIStarShineGenerator

Source§

const NAME: &'static str = "CIStarShineGenerator"

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 CIStarShineGenerator

Implementations on Foreign Types§

Source§

impl<T> CIStarShineGenerator for ProtocolObject<T>

Implementors§