A picture that lets you know the radial gradient of a canvas

Source: Internet
Author: User

I believe that in a radial gradient, if a circle contains another circle, there is no way to know what the gradient looks like, but what if the two circles intersect or are separated? After reading this picture, you'll understand.

The gradients are all from red to blue ,

Createradialgradient (X1,Y1,R1, X2,Y2,R2)

The left image is a small circle to the large circle gradient, the middle of the courtyard to the small circle gradient, the right image is a gradient of two circles, you can clearly see the way the circle is absent or intersecting, the gradient always starts from the starting circle (including the inside of the starting circle), toward ending the circle direction until the end circle (excluding the inside of the

A picture that lets you know the radial gradient of a canvas

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.