To Attribute

HTML (DHTML)

To Attribute

Internet Development Index

Defines the ending point of a curve. Read/write VgVector2D.

Applies To

Curve

Tag Syntax

<v: element to="expression">

Script Syntax

element.to="expression"

expression=element.to

Remarks

Defines the ending point of a cubic bezier curve in the coordinate space of the parent element.  If the parent is not a VML element, the default unit is a pixel (but in, cm, mm, pt, pc may also be specified). Default is 30,20.

VML Standard Attribute

Example

The curve is smiling. It starts at the left and ends at the right. The two control points are situated along the way so as to pull the curve down to give the appearance of a smile.

   <v:curve id="mycurve"
   from="10pt,10pt" to="100pt,10pt"
   control1="40pt,30pt" control2="70pt,30pt">
   </v:curve>