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