Flip Attribute

Internet Development Index

Switches the orientation of a shape. Read/write String.

Applies To

Shape

Tag Syntax

<v:element style="flip: expression">

Script Syntax

element.style.flip="expression"

expression=element.style.flip

Remarks

Values include:

Value Description
x Flip along the y-axis, reversing the x-coordinates.
y Flip along the x-axis, reversing the y-coordinates.
xy Flip along both the y- and x-axis.
yx Flip along both the x- and y-axis.

VML Standard Attribute

See Also

VgFlipOrientation

Example

The shape is flipped along the y-axis by reversing the x-coordinates.

   <v:rect id=myrect fillcolor="red"
   style="position:relative;top:1;left:1;width:20;height:20;flip:x">
   </v:rect>

Flip Attribute Example. (Requires Microsoft Internet Explorer 5 or greater.)