VML EndCap Attribute
This topic describes VML, a feature that is deprecated as of Windows Internet Explorer 9. Webpages and applications that rely on VML should be migrated to SVG or other widely supported standards.
Note As of December 2011, this topic has been archived. As a result, it is no longer actively maintained. For more information, see Archived Content. For information, recommendations, and guidance regarding the current version of Windows Internet Explorer, see Internet Explorer Developer Center.
Defines the cap style for the end of a stroke. Read/write. VgLineEndCapStyle.
Applies To
Tag Syntax
<v: element endcap=" expression ">
Script Syntax
element .endcap="expression"
expression=element.endcap
Remarks
Values include:
- Flat (default)
- Square
- Round
VML Standard Attribute
Example
A line is drawn with a flat cap on the end of the stroke.
<v:line strokecolor="red"
strokeweight="2pt" to="100pt,20pt" from="20pt,20pt">
<v:stroke endcap="flat"/>
</v:line>
Send comments about this topic to Microsoft
Build date: 2/7/2012