[−][src]Function skia_safe::gradient_shader::linear
pub fn linear<'a>(
points: (impl Into<Point>, impl Into<Point>),
colors: impl Into<GradientShaderColors<'a>>,
pos: impl Into<Option<&'a [scalar]>>,
mode: TileMode,
flags: impl Into<Option<Flags>>,
local_matrix: impl Into<Option<&'a Matrix>>
) -> Option<Shader>