Exemplo n.º 1
0
 private void OnDeserialized(StreamingContext context)
 {
     if (_isDiscreteColored)
     {
         _discreteHandler = new DiscreteIntentHandler();
     }
     else
     {
         _fullColorHandler = new FullColorIntentHandler();
     }
 }
Exemplo n.º 2
0
 internal void TestForDiscrete()
 {
     _isDiscreteColored = _node != null && Property.Color.ColorModule.isElementNodeDiscreteColored(_node);
     if (_isDiscreteColored)
     {
         _fullColorHandler = null;
         if (_discreteHandler == null)
         {
             _discreteHandler = new DiscreteIntentHandler();
         }
     }
     else
     {
         _discreteHandler = null;
         if (_fullColorHandler == null)
         {
             _fullColorHandler = new FullColorIntentHandler();
         }
     }
 }
Exemplo n.º 3
0
 private void OnDeserialized(StreamingContext context)
 {
     _discreteHandler  = new DiscreteIntentHandler();
     _fullColorHandler = new FullColorIntentHandler();
 }
Exemplo n.º 4
0
 public PreviewPixel()
 {
     _fullColorHandler = new FullColorIntentHandler();
     _discreteHandler  = new DiscreteIntentHandler();
 }
Exemplo n.º 5
0
 public PreviewPixel()
 {
     _fullColorHandler = new FullColorIntentHandler();
     _discreteHandler = new DiscreteIntentHandler();
 }
Exemplo n.º 6
0
 private void OnDeserialized(StreamingContext context)
 {
     _discreteHandler = new DiscreteIntentHandler();
     _fullColorHandler = new FullColorIntentHandler();
 }