OpenSheetMusicDisplay

    Interface IGraphicalSymbolFactory

    interface IGraphicalSymbolFactory {
        addFermataAtTiedEndNote(
            tiedNote: Note,
            graphicalStaffEntry: GraphicalStaffEntry,
        ): void;
        addGraphicalAccidental(graphicalNote: GraphicalNote, pitch: Pitch): void;
        createChordSymbols(
            sourceStaffEntry: SourceStaffEntry,
            graphicalStaffEntry: GraphicalStaffEntry,
            keyInstruction: KeyInstruction,
            transposeHalftones: number,
        ): void;
        createExtraGraphicalMeasure(staffLine: StaffLine): GraphicalMeasure;
        createGraceNote(
            note: Note,
            graphicalVoiceEntry: GraphicalVoiceEntry,
            activeClef: ClefInstruction,
            rules: EngravingRules,
            octaveShift?: OctaveEnum,
        ): GraphicalNote;
        createGraphicalMeasure(
            sourceMeasure: SourceMeasure,
            staff: Staff,
        ): GraphicalMeasure;
        createGraphicalTechnicalInstruction(
            technicalInstruction: TechnicalInstruction,
            graphicalStaffEntry: GraphicalStaffEntry,
        ): void;
        createInStaffClef(
            graphicalStaffEntry: GraphicalStaffEntry,
            clefInstruction: ClefInstruction,
        ): void;
        createMultiRestMeasure(
            sourceMeasure: SourceMeasure,
            staff: Staff,
        ): GraphicalMeasure;
        createMusicSystem(systemIndex: number, rules: EngravingRules): MusicSystem;
        createNote(
            note: Note,
            graphicalVoiceEntry: GraphicalVoiceEntry,
            activeClef: ClefInstruction,
            octaveShift: OctaveEnum,
            rules: EngravingRules,
            graphicalNoteLength?: Fraction,
        ): GraphicalNote;
        createStaffEntry(
            sourceStaffEntry: SourceStaffEntry,
            measure: GraphicalMeasure,
        ): GraphicalStaffEntry;
        createStaffLine(parentSystem: MusicSystem, parentStaff: Staff): StaffLine;
        createTabStaffMeasure(
            sourceMeasure: SourceMeasure,
            staff: Staff,
        ): GraphicalMeasure;
        createVoiceEntry(
            parentVoiceEntry: VoiceEntry,
            parentStaffEntry: GraphicalStaffEntry,
        ): GraphicalVoiceEntry;
    }

    Implemented by

    Index

    Methods

    MMNEPVFCICPMFPCPTTAAATR