SplineStart Method

Starts creating a new spline segment. Returns a Shape object that corresponds to the shape in which the spline segment has been built.

Applies to: Page object, Shape object

Syntax

[[Set] shapeRet =] object.SplineStart ( xBegin, yBegin, xA, yB )

The SplineStart method syntax has these parts:

Part Description
object Required. An expression that returns a Shape object.
xStart Required. An expression that returns a Double value. The X-coordinate of the begin point of the spline.
yStart Required. An expression that returns a Double value. The Y-coordinate of the begin point of the spline.
xA Required. An expression that returns a Double value. The X-coordinate of the guiding point.
yB Required. An expression that returns a Double value. The Y-coordinate of the guiding point.
shapeRet Optional. A Shape type variable.

Remarks

The SplineStart method adds a new spline start segment to the shape. The spline start segment is described by two points: the begin point of the spline (xStart, yStart) and the guiding point (xA, yB).

If object is a page or a group, the SplineStart method adds the spline start segment to the current Basic shape and returns a Shape object that corresponds to that shape. If the method was called prior to the BeginShape method or after the EndShape method, the SplineStart method doesn't create anything and returns Nothing.

If object is a simple shape, the SplineStart method adds to object a new geometry that contains the spline start segment with the specified coordinates and returns object.

The coordinates of the points are in the coordinate system of the shape, group or the page to which object corresponds. The coordinates are measured in internal units (InternalUnit).

 

See Also

ArcTo method, BeginShape method, EndShape method, LineTo method, MoveTo method, SplineTo method