Function offset
pub fn offset(
offset: impl Into<Point>,
input: impl Into<Option<RCHandle<SkImageFilter>>>,
crop_rect: impl Into<CropRect>,
) -> Option<RCHandle<SkImageFilter>>Expand description
Create a filter that offsets the input filter by the given vector.
offset- The offset in local space that the image is shifted.input- The input that will be moved, if null the source bitmap is used instead.crop_rect- Optional rectangle to crop the input and output.