VML: five objects of the leopard series (Oval)

Source: Internet
Author: User
Oval (circle) object
Using VML to draw a circle (Oval) is very simple. You only need to set the height and width of the circle. Of course, positioning is also commonly used:

<V: oval style = "position: relative; left: 5; top: 5; width: 100; Height: 80"/>

Note that top and left are the coordinates of the upper left corner of the circle, width and height are the width and height of the circle, not the radius of the circle. The Center Coordinate is (left-width/2, top-height/2 ).
When it comes to circles, we have to think that the arc (ARC) VML has defined the arc object. Apart from the basic nature of the circle, it has two special attributes: startangle and endangle, that is, the starting angle and the ending angle, unit: degrees, not radians:

<V: arc filled = false style = "position: relative; width: 100; Height: 100" startangle = "0" endangle = "270"/>

Note No. The 0 angle starts from the usual 90 degrees.

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.