skia_safe::gradient_shader

Function sweep_with_interpolation

Source
pub fn sweep_with_interpolation<'a>(
    center: impl Into<Point>,
    (colors, color_space): (&[Color4f], impl Into<Option<ColorSpace>>),
    pos: impl Into<Option<&'a [scalar]>>,
    mode: TileMode,
    angles: impl Into<Option<(scalar, scalar)>>,
    interpolation: impl Into<Interpolation>,
    local_matrix: impl Into<Option<&'a Matrix>>,
) -> Option<Shader>