Skip to content

Instantly share code, notes, and snippets.

@yuriyskulskiy
Created August 13, 2020 13:15
Show Gist options
  • Save yuriyskulskiy/4913a27e75a90e220e4a075db3d04195 to your computer and use it in GitHub Desktop.
Save yuriyskulskiy/4913a27e75a90e220e4a075db3d04195 to your computer and use it in GitHub Desktop.
public void setSize(int width, int height) {
...
mPaint.setMaskFilter(new BlurMaskFilter(mBounds.bottom * BlUR_RADIUS_FACTOR,
BlurMaskFilter.Blur.NORMAL));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment