new Rest(ql)
Represents a musical rest.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
ql |
number |
<optional> |
1.0 | length in number of quarterNotes |
- Source:
Properties:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
isNote |
Boolean |
<optional> |
false | |
isRest |
Boolean |
<optional> |
true | |
name |
string |
<optional> |
'rest' | |
lineShift |
number |
<optional> |
number of lines to shift up or down from default |
|
color |
string | undefined |
<optional> |
'black' | color of the rest |