-
Notifications
You must be signed in to change notification settings - Fork 5
CleanSpline
Juju Adams edited this page Mar 17, 2021
·
5 revisions
Returns: Polyline struct
Name | Datatype | Purpose |
---|---|---|
controlPointArray |
array | Array of x/y coordinate pairs for control points for the spline |
segments |
integer | Number of segments to use to build the spline |
Splines defined using this function are no different internally to the standard polyline shape. Please see the CleanPolyline()
documentation for available methods.
N.B. A shape will only draw when you call the .Draw()
method. Splines (and polylines) tend not to cope well with very sharp angles and very short distances so be careful about the geometry you're trying to draw.
@jujuadams 2020