PlaneAxis
Axis descriptor used in definePlane() input.
import type { PlaneAxis } from '@pbroom/color-kit/plane';types.ts:109interface PlaneAxis<Model extends PlaneModel = PlaneModel> {
channel: PlaneChannelFor<Model>;
range?: [number, number];
}Properties
- channel
PlaneChannelFor<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
@pbroom/color-kitthe same declaration, re-exported