ArcSize Attribute

Internet Development Index

November 9, 1999

Defines the amount of roundness for a rounded rectangle. Read/write VgFraction.

Applies To

RoundRect

Tag Syntax

<v: element arcsize="expression">

Script Syntax

element.arcSize="expression"

expression=element.arcSize

Remarks

Defines the rounded corners of a rounded rectangle as a percentage of half the smaller dimension of the length and width of a rectangle. 0% would have square corners, and 100% would form circular corners. A square with an ArcSize value of 1.0 would be a circle. The default value is 0.2 (20%).

VML Standard Attribute

Example

The rounded rectangle is drawn with tight-but-rounded corners.

   <v:roundrect id=myrr
   style="height:100;left:100;top:100;width:200"
   fillcolor="red"
   arcsize="5%">
   </v:roundrect>

Photo Credits: PhotoDisc