C# Class AlphaTab.Rendering.Utils.BoundsLookup

Show file Open project: CoderLine/alphaTab Class Usage Examples

Public Methods

Method Description
AddBeat ( BeatBounds bounds ) : void
AddMasterBar ( MasterBarBounds bounds ) : void
AddStaveGroup ( StaveGroupBounds bounds ) : void
BoundsLookup ( ) : AlphaTab.Collections
FindBeat ( Beat beat ) : BeatBounds
Finish ( ) : void
FromJson ( object json, AlphaTab.Model.Score score ) : BoundsLookup
GetBeatAtPos ( float x, float y ) : Beat
ToJson ( ) : object

Private Methods

Method Description
BoundsToJson ( Bounds bounds ) : Bounds

Method Details

AddBeat() public method

public AddBeat ( BeatBounds bounds ) : void
bounds BeatBounds
return void

AddMasterBar() public method

public AddMasterBar ( MasterBarBounds bounds ) : void
bounds MasterBarBounds
return void

AddStaveGroup() public method

public AddStaveGroup ( StaveGroupBounds bounds ) : void
bounds StaveGroupBounds
return void

BoundsLookup() public method

public BoundsLookup ( ) : AlphaTab.Collections
return AlphaTab.Collections

FindBeat() public method

public FindBeat ( Beat beat ) : BeatBounds
beat AlphaTab.Model.Beat
return BeatBounds

Finish() public method

public Finish ( ) : void
return void

FromJson() public static method

public static FromJson ( object json, AlphaTab.Model.Score score ) : BoundsLookup
json object
score AlphaTab.Model.Score
return BoundsLookup

GetBeatAtPos() public method

public GetBeatAtPos ( float x, float y ) : Beat
x float
y float
return AlphaTab.Model.Beat

ToJson() public method

public ToJson ( ) : object
return object