Skip to content
GitHub repository
Interface

PolylineOptions

Options of polyline(): closed loops and monotone or Catmull-Rom smoothing of the points.

Properties#

PropertyTypeDescriptionDefined in
closed?booleanConnect the last point back to the first. Default false.SilkGraphics.ts:73
smooth?false | "monotone" | "catmull"Resample through a smooth curve. monotone never overshoots (charts), catmull for free paths.SilkGraphics.ts:75
step?numberSample spacing for smoothing, local units. Default 2.SilkGraphics.ts:77