Function cosmic::iced_winit::graphics::gradient::pack

source ยท
pub fn pack(gradient: &Gradient, bounds: Rectangle) -> Packed
Expand description

Creates a new Packed gradient for use in shader code.