CurveBackgroundInfo
Defined in: src/components/controls/CurveEditor/CurveEditor.types.ts:329
Information passed to the renderBackground callback.
Extends the shared CanvasBackgroundInfo — structurally identical,
with CurveViewport (which has zoom/pan) instead of CanvasViewport.
Extends
CanvasBackgroundInfo
Properties
domainX
domainX: [
number,number]
Defined in: src/components/primitives/canvas/canvas.types.ts:48
Domain X range
Inherited from
CanvasBackgroundInfo.domainX
domainY
domainY: [
number,number]
Defined in: src/components/primitives/canvas/canvas.types.ts:50
Domain Y range
Inherited from
CanvasBackgroundInfo.domainY
height
height:
number
Defined in: src/components/primitives/canvas/canvas.types.ts:44
Canvas height in CSS pixels
Inherited from
CanvasBackgroundInfo.height
viewport
viewport:
CurveViewport
Defined in: src/components/controls/CurveEditor/CurveEditor.types.ts:331
Current viewport mapping (use with domainToCanvas)
Overrides
CanvasBackgroundInfo.viewport
width
width:
number
Defined in: src/components/primitives/canvas/canvas.types.ts:42
Canvas width in CSS pixels
Inherited from
CanvasBackgroundInfo.width