add

external fun add(options: BufferPointOptions, result: BufferPoint): BufferPoint(source)

Adds a new point to the collection, with the specified options. A BufferPoint instance is linked to the new point, using the 'result' argument if given, or a new instance if not. For repeated calls, prefer to reuse a single BufferPoint instance rather than allocating a new instance on each call.

See also