public GaugeTickMarkBase(GaugeScale scale, GaugeTickMarkRank rank, TickMarkLayout layout) { _Scale = scale; _Rank = rank; _Layout = layout; _GaugeMarker = new GaugeMarker(); HookEvents(true); }
internal virtual void CopyToItem(TickMarkLayout copy) { if (_FillColor != null) copy.FillColor = (GradientFillColor) _FillColor.Clone(); copy.Image = _Image; copy.Length = _Length; copy.Placement = _Placement; copy.ScaleOffset = _ScaleOffset; copy.Style = _Style; copy.Overlap = _Overlap; copy.Width = _Width; }
public virtual object Clone() { TickMarkLayout copy = new TickMarkLayout(_Style, _Width, _Length); CopyToItem(copy); return (copy); }