Previous Document Next Document

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


CorelScript.BeginDrawBezier

Function BeginDrawBezier(x As Long, y As Long, Cusp As Boolean) As Long

Description

Member of CorelScript

The BeginDrawBezier method creates the first point of a Bézier segment.

 
The second point is added by the CorelScript.AddBezierPoint method. However, the segment itself is not added until the CorelScript.EndDrawBezier method is called.
 
This method must be preceded by the CorelScript.InitBezierTool method.

 
You can control the position of the created point by using the CorelScript.MoveBezierControl method.

Parameter
Description
x
Specifies the x-coordinate of the point, in tenths of a micron and relative to the center of the page
y
Specifies the y-coordinate of the point, in tenths of a micron and relative to the center of the page
Cusp
Specifies the node type. True (-1) makes the node cusped, while False (0) makes it symmetrical (unless it is an end node).

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.