Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.AddArrowPoint


CorelScript.AddArrowPoint

Function AddArrowPoint(x As Long, y As Long, Enabled As Boolean, Letter As Boolean, User As Boolean, Closed As Boolean, Continuity As Long, NodeType As Long) As Long

Description

Member of CorelScript

The AddArrowPoint method adds a node that is part of an arrowhead.

 
This command must be part of a block of commands that begins with the CorelScript.BeginDrawArrow method and ends with the CorelScript.EndDrawArrow method.

 
To add the arrowhead to a path, use the CorelScript.SetOutlineArrow method.

Parameter
Description
x
Specifies the x-coordinate of the node, in tenths of a micron and relative to the center of the arrowhead area
y
Specifies the y-coordinate of the node, in tenths of a micron and relative to the center of the arrowhead area
Enabled
Specifies False (0)
Letter
Specifies False (0)
User
Specifies whether to make this node selectable. True (-1) makes the node selectable.
Closed
Specifies whether to make the arrowhead closed. True (-1) makes the arrowhead closed.
Continuity
Specifies the continuity:
 
0 = cusp node
 
1 = smooth node
 
2 = symmetrical node
NodeType
Specifies the node type:
 
1 = straight line segment
 
2 = curved line segment

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.