import { BoundingBox } from "./BoundingBox" ; import { GraphicalObject } from "./GraphicalObject" ; import { GraphicalLabel } from "./GraphicalLabel" ; import { MusicSystem } from "./MusicSystem" ; import { EngravingRules } from "./EngravingRules" ; import { PointF2D } from "../../Common/DataObjects/PointF2D" ; import { GraphicalMusicSheet } from "./GraphicalMusicSheet" ; export class GraphicalMusicPage extends GraphicalObject { private musicSystems : MusicSystem [ ] = [ ] ; private labels : GraphicalLabel [ ] = [ ] ; private parent : GraphicalMusicSheet ; private pageNumber : number ; constructor ( parent ) { super ( ) ; this . parent = parent ; this . boundingBox = new BoundingBox ( this , undefined ) ; } public get MusicSystems ( ) : MusicSystem [ ] { return this . musicSystems ; } public set MusicSystems ( value ) { this . musicSystems = value ; } public get Labels ( ) : GraphicalLabel [ ] { return this . labels ; } public set Labels ( value ) { this . labels = value ; } public get Parent ( ) : GraphicalMusicSheet { return this . parent ; } public set Parent ( value ) { this . parent = value ; } public get PageNumber ( ) : number { return this . pageNumber ; } public set PageNumber ( value ) { this . pageNumber = value ; } param pageIndex param rules returns { PointF2D } public setMusicPageAbsolutePosition ( pageIndex , rules ) { return new PointF2D ( 0.0 , 0.0 ) ; } } export enum PagePlacementEnum { Down , Right , RightDown }