/*
 * Copyright (c) 2007-2011 Madhav Vaidyanathan
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 2.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 */

package com.jinmingyunle.midiplaylib.view;


import com.jinmingyunle.midiplaylib.musictools.NoteDuration;

/** @class NoteData
 *  Contains fields for displaying a single note in a chord.
 */
public class NoteData {
    public int number;             /** The Midi note number, used to determine the color  Midi 音符编号，用于确定颜色 */
    public WhiteNote whitenote;    /** The white note location to draw  要绘制的白色音符位置*/
    public NoteDuration duration;  /** The duration of the note  笔记的持续时间*/
    public boolean leftside;       /** Whether to draw note to the left or right of the stem 是在词干的左侧还是右侧绘制音符 */
    public Accid accid;            /** Used to create the AccidSymbols for the chord  用于为和弦创建 AccidSymbols*/
}


