System.Drawing.Color.ToFloat3D()

Here are the examples of the csharp api class System.Drawing.Color.ToFloat3D() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: WinFormAnimation
Source File: Demo3.cs
private void PlayButton(object sender, EventArgs e)
        {
            _animator.Stop();
            _animator.Paths =
                new Path3D(Color.Aqua.ToFloat3D(), Color.FromArgb(255, 128, 0).ToFloat3D(), 3000).ToArray();
            _animator.Play(p_color, Animator3D.KnownProperties.BackColor, new SafeInvoker(() =>
            {
                _animator.Paths = _animator.Paths.Last().Reverse().ToArray();
                _animator.Play(p_color, Animator3D.KnownProperties.BackColor);
            }));
        }