Indicates wether Bezier will be cloed
OptionaldegreeOptional maximum local degree. A classic Bezier has degree (controlPoints - 1), which oscillates and is hard-capped at 25; when a degree is given (or there are more than 26 control points) a clamped bounded-degree curve is built instead, so it scales to many control points while still following the control polygon. Left empty, a classic Bezier (or auto bounded-degree for many points) is used.
OptionalperiodicBuild a smooth CLOSED (periodic) curve that wraps the control polygon, continuous across the
seam - unlike closed, which only meets C0 by repeating the first point. Uses degree (or a
sensible default) and ignores closed when set.
Points through which the Bezier curve will be created