Package jmsltestsuite

Class SquigglyNoteOrnament

java.lang.Object
com.softsynth.jmsl.score.NoteOrnament
jmsltestsuite.SquigglyNoteOrnament
All Implemented Interfaces:
Namable

public class SquigglyNoteOrnament
extends NoteOrnament
NoteOrnament subclasses allows users to create custom classes that draw into the note's Graphics context. This example draws an random walk of line segments below the note. Use zoom in your drawing to ensure that it scales
  • Constructor Summary

    Constructors
    Constructor Description
    SquigglyNoteOrnament()  
  • Method Summary

    Modifier and Type Method Description
    void draw​(java.awt.Graphics g, double zoom, Note n)
    define draw() in your subclass to do what you want

    Methods inherited from class com.softsynth.jmsl.score.NoteOrnament

    getName, getXoffset, getYoffset, setName, setXoffset, setYoffset

    Methods inherited from class java.lang.Object

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

    • SquigglyNoteOrnament

      public SquigglyNoteOrnament()
  • Method Details

    • draw

      public void draw​(java.awt.Graphics g, double zoom, Note n)
      Description copied from class: NoteOrnament
      define draw() in your subclass to do what you want
      Specified by:
      draw in class NoteOrnament