CurvePicker

public sealed class CurvePicker : IDisposable
Picker class for all manner of curve types.

Constructors

CurvePicker

#
public CurvePicker(bool allowMultiple, CurvePickerTypes types = CurvePickerTypes.All)
allowMultiple (bool)
types (CurvePickerTypes = CurvePickerTypes.All)

Properties

AllowMultiple

#
public bool AllowMultiple { get; }
Gets whether this picker allows only a single result, or many.

DefaultPrompt

#
public string DefaultPrompt { get; }
Gets the default prompt.

Prompt

#
public string Prompt { get; set; }
Gets or sets the prompt override.

Types

#
public CurvePickerTypes Types { get; }
Gets the types which this picker is limited to.

Methods

Dispose

#
public void Dispose()

Get

#
public bool Get()

ToCurveTree

#
public Tree<Curve> ToCurveTree()
Create a tree containing the collected objects and drawn curves as Curve types.

ToTree

#
public Tree<object> ToTree()
Create a tree containing the collected objects and drawn curves.