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§
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 color(&self) -> Retained<CIColor>
Available on crate feature CIColor only.
unsafe fn color(&self) -> Retained<CIColor>
CIColor only.The color to use for the outer shell of the circular star.
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 crossScale(&self) -> c_float
unsafe fn crossScale(&self) -> c_float
The size of the cross pattern.
Sourceunsafe fn setCrossScale(&self, cross_scale: c_float)
unsafe fn setCrossScale(&self, cross_scale: c_float)
Setter for crossScale.
Sourceunsafe fn crossAngle(&self) -> c_float
unsafe fn crossAngle(&self) -> c_float
The angle in radians of the cross pattern.
Sourceunsafe fn setCrossAngle(&self, cross_angle: c_float)
unsafe fn setCrossAngle(&self, cross_angle: c_float)
Setter for crossAngle.
Sourceunsafe fn crossOpacity(&self) -> c_float
unsafe fn crossOpacity(&self) -> c_float
The opacity of the cross pattern.
Sourceunsafe fn setCrossOpacity(&self, cross_opacity: c_float)
unsafe fn setCrossOpacity(&self, cross_opacity: c_float)
Setter for crossOpacity.
Sourceunsafe fn crossWidth(&self) -> c_float
unsafe fn crossWidth(&self) -> c_float
The width of the cross pattern.
Sourceunsafe fn setCrossWidth(&self, cross_width: c_float)
unsafe fn setCrossWidth(&self, cross_width: c_float)
Setter for crossWidth.