Пример #1
0
 protected override void OnUpdatePlanePosition(ColorSelectionPlane plane)
 {
     plane.SetPosition((double)(_color.B) / 255.0,
                       1.0 - (double)(_color.G) / 255.0);
 }
Пример #2
0
 protected override void OnUpdatePlanePosition(ColorSelectionPlane plane)
 {
     plane.SetPosition(_color.H, 1.0 - _color.S);
 }
Пример #3
0
 protected override void OnUpdatePlanePosition(ColorSelectionPlane plane)
 {
     plane.SetPosition((_color.a + 128.0) / 255.0,
                       1.0 - _color.L / 100.0);
 }