Create a new instance of the GraphicalContinuousDynamicExpression
The continuous dynamic instruction read via ExpressionReader
The staffline where the expression is attached
Internal cache of read expression
True if expression is split over system borders
Holds the line objects that can be drawn via implementation
True if this expression should not be removed if re-rendered
EngravingRules for positioning
The graphical measure where the parent continuous dynamic expression ends
The graphical measure where the parent continuous dynamic expression ends
The staff lin where the graphical dynamic expressions ends
Is true if this continuous expression is a wedge, that reaches over a system border and needs to be split into two.
Is true if this continuous expression is a wedge, that reaches over a system border and needs to be split into two.
Is true if the dynamic is not a symbol but a text instruction. E.g. "decrescendo"
Graphical label of the expression if available
Holds the line objects that can be drawn via implementation
True if this expression should not be removed if re-rendered
True if this expression should not be removed if re-rendered
Staffline where the expression is attached to
The graphical measure where the parent continuous dynamic expression starts
The graphical measure where the parent continuous dynamic expression starts
Calculate the BoundingBox (as a box around the Wedge).
Clear Lines
Calculate crescendo lines for (full).
left most starting point
right mist ending point
y placement
length of the opening
line width of the wedge
Calculate diminuendo lines for system break (full).
left most starting point
right mist ending point
y placement
length of the opening
line width of the wedge
Calculate crescendo lines for system break (first part).
left most starting point
right mist ending point
y placement
length of opening at measure end
line width of the wedge
Calculate diminuendo lines for system break (first part).
left most starting point
right mist ending point
y placement
length of the opening
length of opening at measure end
line width of the wedge
Wrapper for createFirstHalfCrescendoLines and createFirstHalfDiminuendoLines.
Checks whether this
is crescendo or diminuendo, helps avoid code duplication.
Wrapper for createCrescendoLines and createDiminuendoLines, see createFirstHalfLines.
Calculate crescendo lines for system break (second part).
left most starting point
right mist ending point
y placement
length of opening at measure start
length of the opening
line width of the wedge
Calculate diminuendo lines for system break (second part).
left most starting point
right mist ending point
y placement
length of opening at measure start
line width of the wedge
Wrapper for createSecondHalfCrescendoLines and createSecondHalfDiminuendoLines, see createFirstHalfLines.
This method recalculates the Crescendo Lines (for all cases).
left most starting point
right most ending point
y placement
This method recalculates the diminuendo lines (for all cases).
left most starting point
right most ending point
Shift wedge in y position
Number to shift
Squeezes the wedge by the given amount.
Generated using TypeDoc
This class prepares the graphical elements for a continuous expression. It calculates the wedges and wrappings if they are split over system breaks.