NURBS Function [Visio 2003 SDK Documentation]

Returns a nonuniform rational B-spline (NURBS). This function is used in the E cell in the NURBSTo geometry rows.

NURBS(knotLast, degree, xType, yType, x1, y1, knot1, weight1, ...)

knotLast The last knot.

degree The spline's degree.

xType Specifies how to interpret the x input data. If xType is 0, all x input data are interpreted as a percentage of Width. If xType is 1, all x input data are interpreted as local coordinates.

yType Specifies how to interpret the y input data. If yType is 0, all y input data are interpreted as a percentage of Height. If yType is 1, all y input data are interpreted as local coordinates.

x1 An x-coordinate.

y1 A y-coordinate.

knot1 A knot on the B-spline.

weight1 A weight on the B-spline.

Remarks

For every x argument, there must be a y argument; otherwise, an error is returned.

You must specify at least one x, y, knot, and weight argument; otherwise, an error is returned.