Previous Document Next Document

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


CorelScript.EndDrawFreehand

Function EndDrawFreehand(StraightTightness As Long, CurveTightness As Long, CornerThreshold As Long, SnapTightness As Long) As Long

Description

Member of CorelScript

The EndDrawFreehand method ends a set of frehand-drawing commands that began with the CorelScript.BeginDrawCurve command.

Parameter
Description
StraightTightness
Specifies the amount by which the curve can vary from a straight path and still be treated as straight. Valid values range from 1 to 10 pixels; the higher the value, the less accurate the line needs to be.
CurveTightness
Specifies how closely the curve matches the position of each point. Valid values range from 1 to 10 pixels; the lower the number, the more accurate the match.
CornerThreshold
Specifies the limit at which each corner node is cusped (as opposed to smoothed). Valid values range from 1 to 10 pixels; a node is more likely to be cusped if the value is lower.
SnapTightness
Specifies how close two end nodes must be to be joined automatically. Valid values range from 1 to 10 pixels.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.