<lineTo> (Wrapping Polygon Line End Position)

This element specifies a single point on the wrapping polygon for a DrawingML object. This point shall be the termination of the edge of the wrapping polygon started by the previous <start> or <lineTo> element in document order, and shall be the origin of the next edge on the same polygon.

The attributes on this element shall dictate the position of the point relative to the upper-left corner of the actual object.

example:
<wp:wrapPolygon>
  <wp:start x="0" y="0" />
  <wp:lineTo x="0" y="100" />
  <wp:lineTo x="100" y="100" />
  <wp:lineTo x="100" y="0" />
  <wp:lineTo x="0" y="0" />
</wp:wrapPolygon>

The <lineTo> element defines each point of the wrapping polygon (in this case, the four points of the wrapping square). ]

Parent Elements

<wrapPolygon>5.5.2.16)

Attributes

Description

<x> (X-Axis Coordinate)

Namespace: .../drawingml/2006/main

Specifies a coordinate on the x-axis. The origin point for this coordinate shall be specified by the parent XML element.

<wp:… x="0" y="100" />

The @x attribute defines an x-coordinate of 0. ]

The possible values for this attribute are defined by the ST_Coordinate simple type (§5.1.12.16).

<y> (Y-Axis Coordinate)

Namespace: .../drawingml/2006/main

Specifies a coordinate on the x-axis. The origin point for this coordinate shall be specified by the parent XML element.

<wp:… x="0" y="100" />

The @y attribute defines a y-coordinate of 100. ]

The possible values for this attribute are defined by the ST_Coordinate simple type (§5.1.12.16).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Point2D">
	<attribute name="x" type="ST_Coordinate" use="required"/>
	<attribute name="y" type="ST_Coordinate" use="required"/>
</complexType>