Lingo Dictionary > L-N > newCurve() |
![]() ![]() ![]() |
newCurve()
Syntax
vectorMember
.newCurve
(positionInVertexList
)newCurve(
vectorMember
,
positionInVertexList
)
Description
Function; adds a #newCurve
symbol to the vertexList
of vectorCastMember
, which adds a new shape to the vector shape. The #newCurve
symbol is added at positionInVertexList
. You can break apart an existing shape by calling newCurve()
with a position in the middle of a series of vertices.
Example
This Lingo adds a new curve to cast member 2 at the third position in the cast member's vertexList. The second line of the example replaces the contents of curve 2 with the contents of curve 3.
member(2).newCurve(3) member(2).curve[2]=member(2).curve[3]
![]() ![]() ![]() |