Method DrawKnot
DrawKnot(SelectableKnot, bool, bool)
Draws handles for a knot. These handles are drawn only during repaint events and not on selection.
Declaration
public static void DrawKnot(SelectableKnot knot, bool selected = false, bool hovered = false)
Parameters
Type | Name | Description |
---|---|---|
SelectableKnot | knot | The SelectableKnot to create handles for. |
bool | selected | Set to true to draw the knot handle as a selected element. |
bool | hovered | Set to true to draw the knot handle as a hovered element. |
DrawKnot(int, SelectableKnot, bool, bool)
Draws handles for a knot. These handles are drawn only during repaint events and not on selection.
Declaration
public static void DrawKnot(int controlID, SelectableKnot knot, bool selected = false, bool hovered = false)
Parameters
Type | Name | Description |
---|---|---|
int | controlID | The controlID of the tangent to create handles for. |
SelectableKnot | knot | The SelectableKnot to create handles for. |
bool | selected | Set to true to draw the knot handle as a selected element. |
bool | hovered | Set to true to draw the knot handle as a hovered element. |