vizia::vg::gradient_shader

Function sweep

pub fn sweep<'a>(
    center: impl Into<Point>,
    colors: impl Into<GradientShaderColors<'a>>,
    pos: impl Into<Option<&'a [f32]>>,
    mode: SkTileMode,
    angles: impl Into<Option<(f32, f32)>>,
    flags: impl Into<Option<Flags>>,
    local_matrix: impl Into<Option<&'a Matrix>>,
) -> Option<RCHandle<SkShader>>