EndCap Attribute

HTML (DHTML)

EndCap Attribute

Internet Development Index

Defines the cap style for the end of a stroke. Read/write VgLineEndCapStyle.

Applies To

Stroke

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>