private void OnDeserialized(StreamingContext context) { if (_isDiscreteColored) { _discreteHandler = new DiscreteIntentHandler(); } else { _fullColorHandler = new FullColorIntentHandler(); } }
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(); } } }
private void OnDeserialized(StreamingContext context) { _discreteHandler = new DiscreteIntentHandler(); _fullColorHandler = new FullColorIntentHandler(); }
public PreviewPixel() { _fullColorHandler = new FullColorIntentHandler(); _discreteHandler = new DiscreteIntentHandler(); }