AlphaTab.Rendering.Utils.MasterBarBounds.AddBeat C# (CSharp) Method

AddBeat() public method

public AddBeat ( BeatBounds bounds ) : void
bounds BeatBounds
return void
        public void AddBeat(BeatBounds bounds)
        {
            StaveGroupBounds.BoundsLookup.AddBeat(bounds);
        }

Usage Example

Example #1
0
 public void AddBeat(BeatBounds bounds)
 {
     bounds.BarBounds = this;
     Beats.Add(bounds);
     MasterBarBounds.AddBeat(bounds);
 }