Пример #1
0
 internal virtual void AddAncilliaryMetricsTo(StaffMetrics staffMetrics)
 {
     if (StaffNameMetrics != null)
     {
         staffMetrics.Add(StaffNameMetrics);
     }
     if (BarnumberMetrics != null)
     {
         staffMetrics.Add(BarnumberMetrics);
     }
 }
Пример #2
0
        internal override void AddAncilliaryMetricsTo(StaffMetrics staffMetrics)
        {
            base.AddAncilliaryMetricsTo(staffMetrics);

            if (FramedRegionStartTextMetrics != null)
            {
                staffMetrics.Add(FramedRegionStartTextMetrics);
            }
            if (FramedRegionEndTextMetrics != null)
            {
                staffMetrics.Add(FramedRegionEndTextMetrics);
            }
        }