public GaugePin(GaugeScale scale, bool isMmaxPin, string name) { _Scale = scale; _IsMaxPin = isMmaxPin; Name = name; _GaugeMarker = new GaugeMarker(); _Label = new GaugePinLabel(this); FillColor = new GradientFillColor(Color.WhiteSmoke); FillColor.BorderColor = Color.DimGray; FillColor.BorderWidth = 1; Length = .06f; Width = .06f; _EndOffset = .02f; HookEvents(true); }
public override object Clone() { GaugePinLabel copy = new GaugePinLabel(_GaugePin); CopyToItem(copy); return (copy); }