vizia::vg::gradient_shader

Function linear_with_interpolation

pub fn linear_with_interpolation<'a>(
    points: (impl Into<Point>, impl Into<Point>),
    _: (&[Color4f], impl Into<Option<RCHandle<SkColorSpace>>>),
    pos: impl Into<Option<&'a [f32]>>,
    mode: SkTileMode,
    interpolation: impl Into<Interpolation>,
    local_matrix: impl Into<Option<&'a Matrix>>,
) -> Option<RCHandle<SkShader>>