Margrete RPC

Air

An air note: an upward/diagonal flick attached above a ground note.

Its geometry (t/p, x, w) must match the ground note it is attached to (see :attr:_AirAttachable.air). Carries a :attr:dir direction and an :attr:inverted flag.

Attributes

attributedirAirDirection
= dir

The air direction (:class:AirDirection).

attributet
= resolve_tick(t)
attributex
= x
attributew
= w
attributeinvertedbool

Whether the air note is inverted (downward).

attribute__repr__
= __str__

Functions

func__init__(self, dir, *, t, x, w, _info=None, _id=None) -> None

Create an air note.

paramself
paramdirAirDirectionLike | int

Air direction (:class:AirDirection).

paramtint | PositionLike

Absolute tick or :data:Position tuple (must match the host ground note).

paramxint

Left lane index (must match the host ground note).

paramwint

Width in lane units (must match the host ground note).

param_infoNoteInfo | None
= None
param_idint | None
= None

Returns

None
funcvalidate(self) -> None
paramself

Returns

None
functo_raw(self, *, skip_validation=False) -> RawNote
paramself
paramskip_validationbool
= False

Returns

margrete_rpc.chart.notes.raw.RawNote
func__str__(self) -> str
paramself

Returns

str

On this page