Lingo Dictionary > L-N > moveVertexHandle() |  |

moveVertexHandle()

Syntax

    moveVertexHandle(member memberRef, vertexIndex, handleIndex, xChange, yChange)

Description

Function; moves the vertex handle of a vector shape cast member to another location.

The horizontal and vertical coordinates for the move are relative to the current position of the vertex handle. The location of the vertex handle is relative to the vertex point it controls.

Changing the location of a control handle affects the shape in the same way as dragging the vertex in the editor.

Example

This statement shifts the first control handle of the second vertex point in the vector shape Archie 15 pixels to the right and 5 pixels up:

    MoveVertexHandle(member "Archie", 2, 1, 15, -5)

See also

`addVertex`, `deleteVertex()`, `originMode`, `vertexList`