예제 #1
0
 private void OnDeserialized(StreamingContext context)
 {
     if (_isDiscreteColored)
     {
         _discreteHandler = new DiscreteIntentHandler();
     }
     else
     {
         _fullColorHandler = new FullColorIntentHandler();
     }
 }
예제 #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();
         }
     }
 }
예제 #3
0
 private void OnDeserialized(StreamingContext context)
 {
     _discreteHandler  = new DiscreteIntentHandler();
     _fullColorHandler = new FullColorIntentHandler();
 }
예제 #4
0
 public PreviewPixel()
 {
     _fullColorHandler = new FullColorIntentHandler();
     _discreteHandler  = new DiscreteIntentHandler();
 }
예제 #5
0
 public PreviewPixel()
 {
     _fullColorHandler = new FullColorIntentHandler();
     _discreteHandler = new DiscreteIntentHandler();
 }
예제 #6
0
 private void OnDeserialized(StreamingContext context)
 {
     _discreteHandler = new DiscreteIntentHandler();
     _fullColorHandler = new FullColorIntentHandler();
 }