Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.DrawCurveCurveTo |
Function DrawCurveCurveTo(x1 As Long, y1 As Long, x2 As Long, y2 As Long, XEnd As Long, YEnd As Long) As Long
Member of CorelScript
The DrawCurveCurveTo method specifies a node in a curve drawn in Freehand mode.
• |
The DrawCurveCurveTo method must be in a contiguous block of one or
more DrawCurve... methods. The first DrawCurve... method in the block
must be preceded by the CorelScript.BeginDrawCurve method, and the last
must be followed by the CorelScript.EndDrawCurve method.
|
• |
The other DrawCurve... methods are CorelScript.DrawCurveClosePath,
CorelScript.DrawCurveLineTo, and CorelScript.DrawCurveMoveTo.
|
Parameter
|
Description
|
x1
|
Specifies the x-coordinate of a control point, in tenths of a micron and relative to the center of the page. The control point is used with the node that was created in a preceding CorelScript.BeginDrawCurve or DrawCurveCurveTo command.
|
y1
|
Specifies the y-coordinate of a control point, in tenths of a micron and relative to the center of the page. The control point is used with the node that was created in a preceding CorelScript.BeginDrawCurve or DrawCurveCurveTo command.
|
x2
|
Specifies the x-coordinate of a control point, in tenths of a micron and relative to the center of the page. The control point is used with the node that was created in a preceding CorelScript.BeginDrawCurve or DrawCurveCurveTo command.
|
y2
|
Specifies the y-coordinate of a control point, in tenths of a micron and relative to the center of the page. The control point is used with the node that was created in a preceding CorelScript.BeginDrawCurve or DrawCurveCurveTo command.
|
XEnd
|
Specifies the x-coordinate of a node, in tenths of a micron and relative to the center of the page
|
YEnd
|
Specifies the y-coordinate of a node, in tenths of a micron and relative to the center of the page
|
Copyright 2013 Corel Corporation. All rights reserved.