← back to roto on ba3a.dev

ProjectPalette

class ProjectPalette(val palette: Palette, val ramps: RampSet)

A project's palette and its ramps, checked against each other: every ramp colour, and the outline colour if there is one, is a palette colour. So whatever a draft is shaded or outlined in can be written into the indexed handoff.

Constructors

Link copied to clipboard
constructor(palette: Palette, ramps: RampSet)

Types

Link copied to clipboard
object Companion

Loading from a project.

Properties

Link copied to clipboard

the project palette

Link copied to clipboard

the project's named ramps and outline colour

Functions

Link copied to clipboard
fun ramps(names: List<String>): List<Ramp>

The ramps called names, in that order — a profile's ramps; throws naming any that do not exist.