@pbroom/color-kit/planeTypes

PlaneAxis

Axis descriptor used in definePlane() input.

interfaceimport type { PlaneAxis } from '@pbroom/color-kit/plane';types.ts:109
interface PlaneAxis<Model extends PlaneModel = PlaneModel> {
  channel: PlaneChannelFor<Model>;
  range?: [number, number];
}

Properties

channelPlaneChannelFor<Model>
Channel projected on this axis.
range?[number, number]

Optional channel range for this axis.

Defaults to PLANE_MODEL_DEFAULT_RANGES[model][channel] when omitted.

Also exported from