Previous Document Next Document

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


CorelScript.AddBezierPoint

Function AddBezierPoint(x As Long, y As Long, Constrain As Boolean, Cusp As Boolean) As Long

Description

Member of CorelScript

The AddBezierPoint method creates the second point of a Bézier segment, as created by using the CorelScript.BeginDrawBezier method.

 
The segment itself is not added until the CorelScript.EndDrawBezier method is called.

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
Constrain
Specifies whether to use the constrain angle when positioning the point. True (-1) uses the constrain angle.
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.