skia_safe::gradient_shader

Function two_point_conical_with_interpolation

Source
pub fn two_point_conical_with_interpolation<'a>(
    (start, start_radius): (impl Into<Point>, scalar),
    (end, end_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>