pub unsafe trait CIHueSaturationValueGradient: CIFilterProtocol {
// Provided methods
unsafe fn value(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setValue(&self, value: c_float)
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 softness(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setSoftness(&self, softness: c_float)
where Self: Sized + Message { ... }
unsafe fn dither(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setDither(&self, dither: c_float)
where Self: Sized + Message { ... }
unsafe fn colorSpace(&self) -> Option<Retained<CGColorSpace>>
where Self: Sized + Message { ... }
unsafe fn setColorSpace(&self, color_space: Option<&CGColorSpace>)
where Self: Sized + Message { ... }
}Available on crate features
CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Hue/Saturation/Value Gradient filter.
Generates a color wheel that shows hues and saturations for a specified value.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn softness(&self) -> c_float
unsafe fn softness(&self) -> c_float
The amount to smooth the hue angle to make it appear more continuous.
Sourceunsafe fn setSoftness(&self, softness: c_float)
unsafe fn setSoftness(&self, softness: c_float)
Setter for softness.
Sourceunsafe fn dither(&self) -> c_float
unsafe fn dither(&self) -> c_float
The amount of dithered noise to add to the color wheel to avoid banding artifacts.
Sourceunsafe fn colorSpace(&self) -> Option<Retained<CGColorSpace>>
Available on crate feature objc2-core-graphics only.
unsafe fn colorSpace(&self) -> Option<Retained<CGColorSpace>>
objc2-core-graphics only.The CGColorSpaceRef that the color wheel should be generated in.
Sourceunsafe fn setColorSpace(&self, color_space: Option<&CGColorSpace>)
Available on crate feature objc2-core-graphics only.
unsafe fn setColorSpace(&self, color_space: Option<&CGColorSpace>)
objc2-core-graphics only.Setter for colorSpace.