PolySpline Method

Structured Graphics Control

Creates a spline shape defined by a series of points, filled with the current color set in the SetFillColor method.

Syntax

HTML<PARAM NAME="Line0001" VALUE="PolySpline ( nPoints, [action, xPoint, yPoint], rotation )">
ScriptingSGObj.PolySpline ( npoints, [action, xPoint, yPoint], rotation )
FilePolySpline ( npoints, [action, xPoint, yPoint], rotation )

Parameters

nPoints
Total number of points.
action
Integer that defines what the spline does at the x, y coordinate. Can be one of the following values.
0Move to the x, y coordinate.
1Draw a line from the previous x, y coordinate to the current one.
2Draw a bezier line from the previous coordinate to the current one.
3Close the line to the first coordinate.
4Close the bezier to the first coordinate.
xPoint
The x-coordinate for the spline control point.
yPoint
The y-coordinate for the spline control point.
rotation
Degree of rotation from the 0 degrees position.

Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.