← back to roto on ba3a.dev

DraftColours

@Serializable
data class DraftColours(val zones: List<List<Int>>, val outline: Int? = null)

The colours a clip's draft is shaded and finished in, as palette labels — palette index plus one, so 0 stays background, as in zone maps, and can be the transparent entry of an indexed .ase. zones holds each zone's ramp, darkest first; outline the project's outline colour, or null to outline each zone in its ramp's darkest.

Constructors

Link copied to clipboard
constructor(zones: List<List<Int>>, outline: Int? = null)

Types

Link copied to clipboard
object Companion

Creation from the project palette.

Properties

Link copied to clipboard
val outline: Int?

the outline colour as a palette label, or null for each ramp's darkest

Link copied to clipboard

each zone's ramp as palette labels, darkest first