C# 클래스 AlphaTab.Rendering.Staves.BarLayoutingInfo

This public class stores size information about a stave. It is used by the layout engine to collect the sizes of score parts to align the parts across multiple staves.
파일 보기 프로젝트 열기: CoderLine/alphaTab 1 사용 예제들

공개 메소드들

메소드 설명
AddBeatSpring ( Beat beat, float beatSize, float preBeatSize ) : Spring
AddSpring ( int start, int duration, float springSize, float preSpringSize ) : Spring
BarLayoutingInfo ( ) : System
BuildOnTimePositions ( float force ) : float>.FastDictionary
CalculateSpringConstants ( ) : void
CalculateVoiceWidth ( float force ) : float
CalculateWidth ( float force, float springConstant ) : float
Finish ( ) : void
GetOnBeatSize ( Beat beat ) : float
GetPreBeatSize ( Beat beat ) : float
SetOnBeatSize ( Beat beat, float size ) : void
SetPreBeatSize ( Beat beat, float size ) : void
SpaceToForce ( float space ) : float
UpdateMinStretchForce ( float force ) : void
UpdateVoiceSize ( float size ) : void

비공개 메소드들

메소드 설명
CalculateSpringConstant ( Spring spring, float duration ) : float

메소드 상세

AddBeatSpring() 공개 메소드

public AddBeatSpring ( Beat beat, float beatSize, float preBeatSize ) : Spring
beat AlphaTab.Model.Beat
beatSize float
preBeatSize float
리턴 Spring

AddSpring() 공개 메소드

public AddSpring ( int start, int duration, float springSize, float preSpringSize ) : Spring
start int
duration int
springSize float
preSpringSize float
리턴 Spring

BarLayoutingInfo() 공개 메소드

public BarLayoutingInfo ( ) : System
리턴 System

BuildOnTimePositions() 공개 메소드

public BuildOnTimePositions ( float force ) : float>.FastDictionary
force float
리턴 float>.FastDictionary

CalculateSpringConstants() 공개 메소드

public CalculateSpringConstants ( ) : void
리턴 void

CalculateVoiceWidth() 공개 메소드

public CalculateVoiceWidth ( float force ) : float
force float
리턴 float

CalculateWidth() 공개 메소드

public CalculateWidth ( float force, float springConstant ) : float
force float
springConstant float
리턴 float

Finish() 공개 메소드

public Finish ( ) : void
리턴 void

GetOnBeatSize() 공개 메소드

public GetOnBeatSize ( Beat beat ) : float
beat AlphaTab.Model.Beat
리턴 float

GetPreBeatSize() 공개 메소드

public GetPreBeatSize ( Beat beat ) : float
beat AlphaTab.Model.Beat
리턴 float

SetOnBeatSize() 공개 메소드

public SetOnBeatSize ( Beat beat, float size ) : void
beat AlphaTab.Model.Beat
size float
리턴 void

SetPreBeatSize() 공개 메소드

public SetPreBeatSize ( Beat beat, float size ) : void
beat AlphaTab.Model.Beat
size float
리턴 void

SpaceToForce() 공개 메소드

public SpaceToForce ( float space ) : float
space float
리턴 float

UpdateMinStretchForce() 공개 메소드

public UpdateMinStretchForce ( float force ) : void
force float
리턴 void

UpdateVoiceSize() 공개 메소드

public UpdateVoiceSize ( float size ) : void
size float
리턴 void