Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StaffLine Abstract

A StaffLine contains the [[Measure]]s in one line of the music sheet (one instrument, one line, until a line break)

Hierarchy

Index

Constructors

Properties

Pedals: GraphicalPedal[] = []
abstractExpressions: AbstractGraphicalExpression[] = []
bottomLineOffset: number
boundingBox: BoundingBox
graphicalGlissandi: GraphicalGlissando[] = []
graphicalSlurs: GraphicalSlur[] = []
lyricLines: GraphicalLine[] = []
lyricsDashes: GraphicalLabel[] = []
measures: GraphicalMeasure[] = []
octaveShifts: GraphicalOctaveShift[] = []
parentMusicSystem: MusicSystem
parentStaff: Staff
staffHeight: number

The staff height in units

staffLines: GraphicalLine[] = ...
topLineOffset: number

Accessors

  • get BottomLine(): number[]
  • get BottomLineOffset(): number
  • get ParentStaff(): Staff
  • set ParentStaff(value: Staff): void
  • get SkyLine(): number[]
  • get StaffHeight(): number
  • get TopLineOffset(): number

Methods

  • addActivitySymbolClickArea(): void
  • calculateStaffLineOffsets(): void
  • If the musicXML sets different numbers of stafflines, we need to have different offsets to accomodate this - primarily for the sky and bottom lines and cursor.

    Returns void

  • isInstanceOfClass(className: string): boolean
  • isPartOfMultiStaffInstrument(): boolean

Generated using TypeDoc