<Y> element

<Y> element

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Specifies a y-coordinate on a shape in local coordinates. The following table describes the Y element based on the element that contains it.

Element

Description of the Y element

Scratch

A general-purpose scratch element.

MoveTo

If the MoveTo row is the first row in the section, the Y element represents the y-coordinate of the first vertex of a path. If the MoveTo element appears between two elements, the Y element represents the y-coordinate of the first vertex after the break in the path.

LineTo

The y-coordinate of the ending vertex of a straight line segment.

ArcTo

The y-coordinate of the ending vertex of an arc.

EllipticalArcTo

The y-coordinate of the ending vertex of an elliptical arc.

PolylineTo

The y-coordinate of the ending vertex of a polyline.

NURBSTo

The y-coordinate of the last control point of a nonuniform rational B-spline (NURBS).

SplineStart

The y-coordinate of a spline's second control point.

SplineKnot

The y-coordinate of a control point.

InfiniteLine

A y-coordinate of a point on the infinite line.

Ellipse

The y-coordinate of the center of the ellipse.

Connection

The y-coordinate for a connection point.

ConnectionABCD

The y-coordinate for a connection point.

Control

The y-coordinate that indicates the location of a shape's control handle.

Syntax

  <Y
      [Unit = "unitval"]
      [F = "formula"]
      [Err = "error"]>
  </Y>

Attributes

Unit

Optional string. Represents a unit of measure. The default is DL. For details about DL, see Units of measure.

F

Optional string. Represents the element's formula. This attribute can contain the string "someFormula" if the formula exists locally, "No Formula" if the formula is locally deleted or blocked, or "Inh" if the formula is inherited.

If the attribute is not present, the element's formula is a simple constant, for example, <element> 5 </element>.

Err

Optional string. Indicates that the formula evaluates to an error. The value of Err is the current value (an error message string); the value of the element is the last valid value.

Element information

Parent elements:

ArcTo, Connection, ConnectionABCD, Control, Ellipse, EllipticalArcTo, InfiniteLine, LineTo, MoveTo, NURBSTo, PolylineTo, Scratch, SplineKnot, SplineStart

Child elements:

None

Remarks

The Y element is relevant only when contained in a DocumentSheet (if it is contained in a Scratch element), PageSheet (if it is contained in a Scratch element), or Shape element. It is ignored when contained in a StyleSheet element.

See also

Y cell (Connection Points section)

Y cell (Controls section)

Y cell (Geometry section)