public TransparencyOptions(TransparencyOptions prototype) { this._enabled = prototype._enabled; this._inverted = prototype._inverted; this._useDocumentTransparency = prototype._useDocumentTransparency; this._colorList = new List <TransparencyColor>(); this._colorList.AddRange(prototype._colorList); this._fadeOptions = new FadeOptions(prototype._fadeOptions); }
public TransparencyOptions(TransparencyOptions prototype) { this._enabled = prototype._enabled; this._inverted = prototype._inverted; this._useDocumentTransparency = prototype._useDocumentTransparency; this._colorList = new List<TransparencyColor>(); this._colorList.AddRange(prototype._colorList); this._fadeOptions = new FadeOptions(prototype._fadeOptions); }
private void Initialize(DirtyEvent dirty) { this.dirtyEvent = dirty; this._colorList = new List <TransparencyColor>(); this._enabled = true; this._inverted = false; this._useDocumentTransparency = true; this._fadeOptions = new FadeOptions(dirty); }
private void Initialize(DirtyEvent dirty) { this.dirtyEvent = dirty; this._colorList = new List<TransparencyColor>(); this._enabled = true; this._inverted = false; this._useDocumentTransparency = true; this._fadeOptions = new FadeOptions(dirty); }
public TransparencyOptions(MashupParseContext context, DirtyEvent dirty) { this.Initialize(dirty); XMLTagReader xMLTagReader = context.NewTagReader("TransparencyOptions"); this._useDocumentTransparency = true; context.GetAttributeBoolean("UseDocumentTransparency", ref this._useDocumentTransparency); this._enabled = context.GetRequiredAttributeBoolean("Enabled"); this._inverted = context.GetRequiredAttributeBoolean("Inverted"); while (xMLTagReader.FindNextStartTag()) { if (xMLTagReader.TagIs(TransparencyColor.GetXMLTag())) { this._colorList.Add(new TransparencyColor(context)); } else { if (xMLTagReader.TagIs(FadeOptions.GetXMLTag())) { this._fadeOptions = new FadeOptions(context, dirty); } } } }
public FadeOptions(FadeOptions prototype) { this._fadeBase = prototype._fadeBase; this._zoomToFadeMap = new Dictionary<int, double>(prototype._zoomToFadeMap); }
public FadeOptions(FadeOptions prototype) { _fadeBase = prototype._fadeBase; _zoomToFadeMap = new Dictionary <int, double>(prototype._zoomToFadeMap); }