Exemple #1
0
 /** Creates a new Clef with the given parameters.
  *
  * @param shape  the Shape constant.  This must not be null.
  * @param staffStep  see getStaffStep()
  * @param shape  the OctaveNumber constant.  This must not be null.
  * @param tags  the tags for this music symbol.  If this is null,
  *          then this uses an empty Tags object.
  */
 public Clef
     (Shape shape, int staffStep, OctaveNumber octaveNumber, Tags tags) : base(tags)
 {
     _shape        = shape;
     _staffStep    = staffStep;
     _octaveNumber = octaveNumber;
 }
Exemple #2
0
 /** Creates a new Clef with the given parameters.
  *
  * @param shape  the Shape constant.  This must not be null.
  * @param staffStep  see getStaffStep()
  * @param shape  the OctaveNumber constant.  This must not be null.
  * @param tags  the tags for this music symbol.  If this is null,
  *          then this uses an empty Tags object.
  */
 public Clef(Shape shape, int staffStep, OctaveNumber octaveNumber, Tags tags)
     : base(tags)
 {
     _shape = shape;
       _staffStep = staffStep;
       _octaveNumber = octaveNumber;
 }