skia_safe::gradient_shader

Function radial_with_interpolation

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