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