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
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
Description copied from class:NoteOrnament
define draw() in your subclass to do what you want- Specified by:
draw
in classNoteOrnament
-