Android blur details, androidblur

Source: Internet
Author: User

Android blur details, androidblur

In android, the effects of edge Blur are implemented through BlurMaskFilter, which defines an edge Blur radius and Blur effect (Blur ).

Blur has four Blur effects: inner, normal, outer, and solid. The following describes the effects:

1. Blur. Inner: The target edge is Inner, And the Blur radius is R. If R> the target width, the excess part is not displayed.


2. Blur. Normal: Blur both inside and outside the target edge, and the radius is R. After blurring, the width and length of the target are increased-the length is R + R.


3. Blur. Outer: Blur the distance from the target edge to the R radius without drawing the target.


4. Blur. Solid: Draw the target and Blur the distance from the target edge to the radius of R.


Attached with no blur effect:














Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.