AlphaTab.Rendering.Glyphs.BeatContainerGlyph.RegisterLayoutingInfo C# (CSharp) 메소드

RegisterLayoutingInfo() 공개 메소드

public RegisterLayoutingInfo ( BarLayoutingInfo layoutings ) : void
layoutings AlphaTab.Rendering.Staves.BarLayoutingInfo
리턴 void
        public void RegisterLayoutingInfo(BarLayoutingInfo layoutings)
        {
            var preBeatStretch = PreNotes.Width + OnNotes.Width / 2;
            layoutings.AddBeatSpring(Beat, MinWidth, preBeatStretch);
            // store sizes for special renderers like the EffectBarRenderer
            layoutings.SetPreBeatSize(Beat, PreNotes.Width);
            layoutings.SetOnBeatSize(Beat, OnNotes.Width);
        }