pub fn pack(gradient: &Gradient, bounds: Rectangle) -> Packed
Creates a new Packed gradient for use in shader code.
Packed