1 | use crate::{prelude::*, MaskFilter, Shader}; |
---|---|
2 | use skia_bindings as sb; |
3 | |
4 | impl MaskFilter { |
5 | pub fn from_shader(shader: impl Into<Shader>) -> MaskFilter { |
6 | new(shader) |
7 | } |
8 | } |
9 | |
10 | pub fn new(shader: impl Into<Shader>) -> MaskFilter { |
11 | MaskFilterOption |
12 | .unwrap() |
13 | } |
14 |