20.4.2.9 lineTo

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: Consider the following basic wrapping polygon for a DrawingML object:

<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). end example]

Attributes

Namespace: http://purl.oclc.or g/ooxml/drawing ml/main

[Example: Consider the following point on a basic wrapping polygon for a DrawingML object:

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

The y attribute defines a y-coordinate of 100. end example]

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

y (Y-Axis Coordinate)

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

Namespace: http://purl.oclc.or g/ooxml/drawing ml/main

[Example: Consider the following point on a basic wrapping polygon for a DrawingML object:

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

The x attribute defines an x-coordinate of 0. end example]

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

x (X-Axis Coordinate)

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

[Note: The W3C XML Schema definition of this element’s content model (CT_Point2D) is located in A.4.1. end note]

Last updated on