Bind this paint to custom HTML element.
HTML element id or element.
Get color.
ColorKey or color.
Get color code.
ColorKey or color.
Get color RGBA.
ColorKey or color.
Set color of any score document element. Use combination of color key parts to set color of specific elements.
setColor("all", "red"); // Set color of everything except background.
setColor("staff", "red"); // Set color of all staff elements.
setColor(["staff", "signature"], "red"); // Set color of all staff signature elements.
setColor(["staff", "signature", "key"], "red"); // Set color of staff key signature.
setColor(["staff", "signature", "time"], "red"); // Set color of staff time signature.
setColor("staff.signature.time", "red"); // Set color of staff time signature.
// etc.
Color key parts to set color for.
Color (HTML color code e.g. "green", "#AA6644", etc.)
Unbind this paint from custom HTML element.
HTML element id or element.
StaticcolorConvert color name to color code.
Color name (e.g. "white").
StaticcolorConvert color name ro RGBA.
Color name (e.g. "white").
Alpha value 0..1 (default is 1).
Paint class for coloring music scores.