ReadonlychartReference to the parent chart.
ReadonlyindexIndex of this line in chart.judgeLineList.
The raw JudgeLine data.
Number of notes on this line.
Set this line's name.
Set this line's texture.
Set this line's group index.
Set the Z-order for rendering.
Set whether this line is a cover.
Set BPM factor.
Set the parent line index (-1 for no parent).
Set rotateWithFather.
Set anchor.
Add a note at beat.
Start beat.
Note creation options.
Add multiple notes at once.
Array of beats or [beat, options] tuples.
Options applied to all notes.
this for chaining.
Remove a note at noteIndex from this line.
The removed Note, or undefined.
Iterate all notes on this line via a NoteIterator.
Add a new empty event layer and return its EventLayerBuilder.
Get an EventLayerBuilder for an existing event layer.
Remove an event layer by index.
The removed EventLayer, or undefined.
Add a moveX event on layer 0.
Start beat.
End beat.
Start X value.
End X value.
Easing type (default: 1 = linear).
Layer index (default: 0).
Add a moveY event on layer 0.
Add a rotate event on layer 0.
Add an alpha event on layer 0.
Add a speed event on layer 0.
Add an incline event.
Add a scaleX event.
Add a scaleY event.
Add a color event.
[r, g, b] at start.
[r, g, b] at end.
Add a text event.
Add a GIF frame event.
Set scaleOnNotes: 0 = off, 1 = scale x-only, 2 = scale x+y.
Set appearanceOnAttach: 0 = always show, 1 = white colored, 2 = FC/AP colored.
Set whether speed event easings are integrated.
Set the Z-index override (distinct from zOrder). Pass undefined to remove it.
Set the constant default value in the first event of the given channel on the specified event layer (default: layer 0).
If the layer or channel has no events yet, a constant event spanning beats 0→1 is created automatically. This is the preferred way to change the initial state of a line (e.g., starting position, opacity, speed) without adding a full timing event.
One of 'moveX', 'moveY', 'rotate', 'alpha', 'speed'.
The constant value to apply.
Event layer index (default: 0).
Return a ChartBuilder wrapping the same chart (for switching back to
chart-level operations).
Fluent wrapper around a single
JudgeLine.Exposes methods for adding notes, events (by channel), and event layers. All mutating methods return
thisfor chaining unless prefixed withget/new, which return more specific builders.Event methods
.moveX(),.moveY(),.rotate(),.alpha(),.speed(),.incline(),.scaleX(),.scaleY(),.colorEvent(),.textEvent(),.gifEvent()Note methods
.addNote(),.addNotes(),.removeNote(),.clearNotes()Misc
.setName(),.setParent(),.setZOrder(),.addLayer(),.notes()(NoteIterator),.events()(EventIterator)Example