public final class guidopianoroll extends guidopianorollbase
kALine, kASharpLine, kAutoLines, kBLine, kCLine, kCSharpLine, kDLine, kDSharpLine, kELine, kFLine, kFSharpLine, kGLine, kGSharpLine, kNoLine, kSimplePianoRoll, kTrajectoryPianoRoll
Constructor and Description |
---|
guidopianoroll() |
guidopianoroll(long arHandler) |
Modifier and Type | Method and Description |
---|---|
int |
Draw(java.awt.Graphics g,
int w,
int h,
guidopaint area)
Draws the score.
|
int |
Draw(java.awt.Graphics g,
int w,
int h,
guidopaint area,
java.awt.Color color)
Draws the score.
|
int |
Draw(java.awt.Graphics g,
int top,
int left,
int w,
int h,
guidopaint area,
java.awt.Color color)
Draws the score.
|
int |
GetBitmap(int[] dst,
int w,
int h,
guidopaint area,
java.awt.Color color)
Draws the score into a bitmap.
|
AR2PianoRoll, DestroyPianoRoll, EnableAutoVoicesColoration, EnableKeyboard, EnableMeasureBars, GetKeyboardWidth, GetMap, Init, Midi2PianoRoll, setARHandler, SetHtmlColorToVoice, SetLimits, SetPitchLinesDisplayMode, SetRGBColorToVoice
public guidopianoroll()
public guidopianoroll(long arHandler)
public final int GetBitmap(int[] dst, int w, int h, guidopaint area, java.awt.Color color)
dst
- the destination bitmap ARGB arrayw
- the bitmap widthh
- the bitmap heightarea
- clipping descriptioncolor
- the color used to draw the scoreguidodrawdesc
,
guidopaint
public int Draw(java.awt.Graphics g, int w, int h, guidopaint area)
g
- a Graphicsw
- the desired drawing widthh
- the desired drawing heigtharea
- clipping descriptionguidodrawdesc
,
guidopaint
public int Draw(java.awt.Graphics g, int w, int h, guidopaint area, java.awt.Color color)
g
- a Graphicsw
- the desired drawing widthh
- the desired drawing heigtharea
- clipping descriptioncolor
- the color used to draw the scoreguidodrawdesc
,
guidopaint
public int Draw(java.awt.Graphics g, int top, int left, int w, int h, guidopaint area, java.awt.Color color)
g
- a Graphicstop
- the top coordinate to begin to draw the imageleft
- the left coordinate to begin to draw the imagew
- the desired drawing widthh
- the desired drawing heightarea
- clipping descriptioncolor
- the color used to draw the scoreguidodrawdesc
,
guidopaint