pub unsafe trait CIMeshGenerator: CIFilterProtocol {
// Provided methods
unsafe fn width(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setWidth(&self, width: c_float)
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 mesh(&self) -> Retained<NSArray>
where Self: Sized + Message { ... }
unsafe fn setMesh(&self, mesh: &NSArray)
where Self: Sized + Message { ... }
}Available on crate features
CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Mesh Generator filter.
Generates a mesh from an array of line segments.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn setColor(&self, color: &CIColor)
Available on crate feature CIColor only.
unsafe fn setColor(&self, color: &CIColor)
CIColor only.Setter for color.