Function vizia::vg::gradient_shader::linear
pub fn linear<'a>(
points: (impl Into<Point>, impl Into<Point>),
colors: impl Into<GradientShaderColors<'a>>,
pos: impl Into<Option<&'a [f32]>>,
mode: SkTileMode,
flags: impl Into<Option<Flags>>,
local_matrix: impl Into<Option<&'a Matrix>>,
) -> Option<RCHandle<SkShader>>