← back to roto on ba3a.dev

Package-level declarations

Types

Link copied to clipboard
class RampSwap(ramps: RampSet, swaps: List<RampSwapPair>, outline: Int? = null)

The colour map of a variant's ramp swaps, applied to the base's art.

Link copied to clipboard
@Serializable
data class RampSwapPair(val from: String, val to: String)

One ramp swap of a VariantOf: art coloured from ramp from is coloured from ramp to instead.

Link copied to clipboard
@Serializable
data class VariantOf(val base: String, val swaps: List<RampSwapPair>, val outline: @Serializable(with = HexColorSerializer::class) Int? = null)

A profile with no clips of its own: it publishes the finished art of the base profile with some ramps swapped for others. Stored as variant in the variant's profile.json.