Function vizia_core::vg::shader::shaders::image
pub fn image<'a>(
image: impl Into<RCHandle<SkImage>>,
tm: (SkTileMode, SkTileMode),
options: &SamplingOptions,
matrix: impl Into<Option<&'a Matrix>>,
) -> Option<RCHandle<SkShader>>
Expand description
Create an Shader
that will sample the ‘image’. This is equivalent to Image::to_shader
.