Functions
The following functions are available globally.
-
Adds two
MIDIPianoRollPositions together.Declaration
Swift
public func + (lhs: MIDIPianoRollPosition, rhs: MIDIPianoRollPosition) -> MIDIPianoRollPositionParameters
lhsLeft hand side of the equation.
rhsRight hand side of the equation.
Return Value
Returns the new position.
-
Substracts the right hand side position from left hand side position.
Declaration
Swift
public func - (lhs: MIDIPianoRollPosition, rhs: MIDIPianoRollPosition) -> MIDIPianoRollPositionParameters
lhsPosition to be substracted.
rhsSubstraction amount.
Return Value
Returns the new position.
-
Compares if left hand side position is less than right hand side position.
Declaration
Swift
public func < (lhs: MIDIPianoRollPosition, rhs: MIDIPianoRollPosition) -> BoolParameters
lhsLeft hand side of the equation.
rhsRight hand side of the equation.
Return Value
Returns true if left hand side position is less than right hand side position.
View on GitHub
Functions Reference