Line,polyline (line) object _VML related

Source: Internet
Author: User
Tags polyline
Line is the most used in the diagram, it has two special attributes from and to, that is, the starting point and the end point coordinates.




If you want to change the style of a line, the LineStyle (Stroke) property can do the following:
Single (default), Thinthin,thinthick,thickbetweenthin
If you want to change the type of the line, you can use the DashStyle (Stroke) Property:





Solid (default): see
Shortdash:
Shortdot:
Shortdashdot:
Shortdashdotdot:
Dot:
Dash:
Longdash:
Dashdot:
Longdashdot:
Longdashdotdot:
When drawing coordinates, the arrows are required, and the VML has defined the arrows, which are reflected in the stroke: EndArrow and Startarrow properties, one with arrows at the beginning of the line and the other with arrows at the end of the line. There are also many styles of arrows:





Endarrow= "Block":
Endarrow= "Classic": (this looks more comfortable)
Endarrow= "Diamond":
Startarrow= "Oval":
Startarrow= "Open":


PolyLineIs the variant of line, which is irregular continuous lines. It has a special property Points that sets the coordinates of each point. For example:



As you can set the style and type of its lines as well as arrows (IE5.0, polyline does not support arrow)




  • 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.