public GaugeTickMarkBase(GaugeScale scale, GaugeTickMarkRank rank, TickMarkLayout layout) { _Scale = scale; _Rank = rank; _Layout = layout; _GaugeMarker = new GaugeMarker(); HookEvents(true); }
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); }