MiterLimit Attribute

HTML (DHTML)

MiterLimit Attribute

Internet Development Index

Defines the smoothness of the miter joint. Read/write VgNumber.

Applies To

Stroke

Tag Syntax

<v:element miterlimit="expression">

Script Syntax

element.miterlimit="expression"

expression=element.miterlimit

Remarks

The maximum distance between the inner point and outer point of a joint.  This number is a multiple of the thickness of the line.

The default value is 8.

VML Standard Attribute

Example

The joints on the polyline are mitered with a limit of 10, that is, 5 times 2 points.

   <v:polyline
   strokecolor="red" strokeweight="2pt"
   points="18pt,54pt,90pt,-9pt,180pt,63pt,261pt,27pt">
   <v:stroke miterlimit="5" joinstyle="miter"/>
   </v:polyline>