Class MarkRenderer

java.lang.Object
com.softsynth.jmsl.score.MarkRenderer

public class MarkRenderer
extends java.lang.Object
Render a Note's mark, where mark is one of the following: MARK_ACCENT MARK_STACCATO MARK_TENUTO MARK_WEDGE MARK_ACCENT_STACCATO MARK_ACCENT_TENUTO MARK_WEDGE_STACCATO MARK_FERMATA MARK_HARMONIC MARK_TRILL MARK_TRILL_FLAT MARK_TRILL_SHARP MARK_NATURAL MARK_MORDANT
Author:
Nick Didkovsky, (c) 2002 Nick Didkovsky, all rights reserved
  • Constructor Summary

    Constructors
    Constructor Description
    MarkRenderer()  
  • Method Summary

    Modifier and Type Method Description
    static void drawSlash​(java.awt.Graphics g, int x, int currentYLeft, int stemDirection, double zoom)  
    static void renderAccacciatura​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static boolean renderAccent​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderAccentStaccato​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderAccentTenuto​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderBowedTremolo​(java.awt.Graphics g, int x, int y, double zoom, Note note, int numTremolos)  
    static boolean renderBreathMarkComma​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderFermata​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderHarmonic​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderInvertedFermata​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderInvertedMordant​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderMark​(java.awt.Graphics g, double x, double y, double zoom, Note note, int mark)  
    static void renderMordant​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderStaccato​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderTenuto​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderTrill​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderTrillFlat​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderTrillNatural​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderTrillSharp​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderWedge​(java.awt.Graphics g, int x, int y, double zoom, Note note)  
    static void renderWedgeStaccato​(java.awt.Graphics g, int x, int y, double zoom, Note note)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MarkRenderer

      public MarkRenderer()
  • Method Details

    • renderMark

      public static void renderMark​(java.awt.Graphics g, double x, double y, double zoom, Note note, int mark)
    • renderBreathMarkComma

      public static boolean renderBreathMarkComma​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderAccacciatura

      public static void renderAccacciatura​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • drawSlash

      public static void drawSlash​(java.awt.Graphics g, int x, int currentYLeft, int stemDirection, double zoom)
    • renderBowedTremolo

      public static void renderBowedTremolo​(java.awt.Graphics g, int x, int y, double zoom, Note note, int numTremolos)
    • renderAccent

      public static boolean renderAccent​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderStaccato

      public static void renderStaccato​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderTenuto

      public static void renderTenuto​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderWedge

      public static void renderWedge​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderAccentStaccato

      public static void renderAccentStaccato​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderAccentTenuto

      public static void renderAccentTenuto​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderWedgeStaccato

      public static void renderWedgeStaccato​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderFermata

      public static void renderFermata​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderInvertedFermata

      public static void renderInvertedFermata​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderHarmonic

      public static void renderHarmonic​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderTrill

      public static void renderTrill​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderTrillFlat

      public static void renderTrillFlat​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderTrillSharp

      public static void renderTrillSharp​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderTrillNatural

      public static void renderTrillNatural​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderMordant

      public static void renderMordant​(java.awt.Graphics g, int x, int y, double zoom, Note note)
    • renderInvertedMordant

      public static void renderInvertedMordant​(java.awt.Graphics g, int x, int y, double zoom, Note note)