AirCrush
An air-crush note: an air-lane long note with height and a color.
Like a slide but in the air lane: it carries height h, a :attr:color, and a gap
(:attr:gap, with the :attr:interval beat-fraction view) controlling the spacing of
generated segments between joints. Add control joints with :meth:with_ctrl / :meth:add_ctrl.
Attributes
attributeh= hattributegapintSegment gap as an int tick count.
Set with an int tick count or an :data:DivisionLike (numerator, denominator)
beat fraction. Read the fraction form via the :attr:interval view.
attributecolorColorValue | intThe crush color (:class:ColorValue, or a raw int for non-standard values).
attributeintervalDivisionRead-only (numerator, denominator) beat-fraction view of gap.
Functions
func__init__(self, *, t, x, w, h, gap=DEFAULT_AIRCRUSH_GAP, color=ColorValue.DEFAULT, _info=None, _id=None) -> NoneCreate an air-crush begin note.
paramselfparamtint | PositionLikeAbsolute tick or :data:Position tuple.
paramxintLeft lane index.
paramwintWidth in lane units.
paramhintAir height.
paramgapint | DivisionLike= DEFAULT_AIRCRUSH_GAPSegment gap as a tick count or (numerator, denominator) beat fraction.
paramcolorColorLike | int= ColorValue.DEFAULTCrush color (:class:ColorValue or raw int).
param_infoNoteInfo | None= Noneparam_idint | None= NoneReturns
Nonefuncwith_ctrl(self, *, t, x, w, h) -> SelfReturn a copy with a control joint appended at the given timing and geometry.
paramselfparamtint | PositionLikeparamxintparamwintparamhintReturns
typing.Selffuncconverted(self, target, **overrides) -> TReturn a new note of type target carrying this note's geometry and joints.
paramselfparamtargettype[T]paramoverridesAny= {}Returns
margrete_rpc.chart.notes.long.AirCrush.converted[T]functo_raw(self, *, skip_validation=False) -> RawNoteConvert to a :class:RawNote tree (begin note with joint children).
paramselfparamskip_validationbool= FalseReturns
margrete_rpc.chart.notes.raw.RawNote