← back to roto on ba3a.dev

RampSwap

constructor(ramps: RampSet, swaps: List<RampSwapPair>, outline: Int? = null)

Parameters

ramps

the project's ramps

swaps

the ramp swaps, each source ramp once

outline

the colour the project's outline colour becomes, or null to keep it; it has no effect when ramps has no outline colour, since each ramp's darkest step is then the outline and swaps with it