OpenSheetMusicDisplay
    Preparing search index...

    Interface CursorOptions

    interface CursorOptions {
        alpha: number;
        color: string;
        follow: boolean;
        type: CursorType;
    }
    Index

    Properties

    Properties

    alpha: number

    alpha value to be used with color (0.0 transparent, 0.5 medium, 1.0 opaque).

    color: string

    Color to draw the cursor

    follow: boolean

    If true, this cursor will be followed.

    Type of cursor: 0: Standard highlighting current notes 1: Thin line left to the current notes 2: Short thin line on top of stave and left to the current notes 3: Current measure 4: Current measure to left of current notes