예제 #1
0
        public GaugeTickMarkBase(GaugeScale scale, GaugeTickMarkRank rank, TickMarkLayout layout)
        {
            _Scale = scale;
            _Rank = rank;

            _Layout = layout;
            _GaugeMarker = new GaugeMarker();

            HookEvents(true);
        }
예제 #2
0
        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;
        }
예제 #3
0
        public virtual object Clone()
        {
            TickMarkLayout copy = new
                TickMarkLayout(_Style, _Width, _Length);

            CopyToItem(copy);

            return (copy);
        }