Skip to Content

@revideo/2d


@revideo/2d / components / QuadBezierProps

Interface: QuadBezierProps

Defined in: 2d/src/lib/components/QuadBezier.ts:10 

Extends

Properties

alignContent?

optional alignContent?: SignalValue<FlexContent>

Defined in: 2d/src/lib/components/Layout.ts:89 

Inherited from

CurveProps.alignContent


alignItems?

optional alignItems?: SignalValue<FlexItems>

Defined in: 2d/src/lib/components/Layout.ts:90 

Inherited from

CurveProps.alignItems


alignSelf?

optional alignSelf?: SignalValue<FlexItems>

Defined in: 2d/src/lib/components/Layout.ts:91 

Inherited from

CurveProps.alignSelf


antialiased?

optional antialiased?: SignalValue<boolean>

Defined in: 2d/src/lib/components/Shape.ts:26 

Inherited from

CurveProps.antialiased


arrowSize?

optional arrowSize?: SignalValue<number>

Defined in: 2d/src/lib/components/Curve.ts:50 

Controls the size of the end and start arrows.

Remarks

To make the arrows visible make sure to enable startArrow and/or endArrow.

Inherited from

CurveProps.arrowSize


basis?

optional basis?: SignalValue<FlexBasis>

Defined in: 2d/src/lib/components/Layout.ts:83 

Inherited from

CurveProps.basis


bottom?

optional bottom?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Layout.ts:138 

The position of the bottom edge of this node.

Remarks

This shortcut property will set the node’s position so that the bottom edge ends up in the given place. If present, overrides the NodeProps.position property.

Inherited from

CurveProps.bottom


bottomLeft?

optional bottomLeft?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Layout.ts:183 

The position of the bottom left corner of this node.

Remarks

This shortcut property will set the node’s position so that the bottom left corner ends up in the given place. If present, overrides the NodeProps.position property.

Inherited from

CurveProps.bottomLeft


bottomRight?

optional bottomRight?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Layout.ts:192 

The position of the bottom right corner of this node.

Remarks

This shortcut property will set the node’s position so that the bottom right corner ends up in the given place. If present, overrides the NodeProps.position property.

Inherited from

CurveProps.bottomRight


cache?

optional cache?: SignalValue<boolean>

Defined in: 2d/src/lib/components/Node.ts:99 

Inherited from

CurveProps.cache


cachePadding?

optional cachePadding?: SignalValue<PossibleSpacing>

Defined in: 2d/src/lib/components/Node.ts:119 

Controls the padding of the cached canvas used by this node.

Remarks

By default, the size of the cache is determined based on the bounding box of the node and its children. That includes effects such as stroke or shadow. This property can be used to expand the cache area further. Usually used to account for custom effects created by shaders.

Inherited from

CurveProps.cachePadding


cachePaddingBottom?

optional cachePaddingBottom?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:107 

Controls the padding of the cached canvas used by this node.

Remarks

By default, the size of the cache is determined based on the bounding box of the node and its children. That includes effects such as stroke or shadow. This property can be used to expand the cache area further. Usually used to account for custom effects created by shaders.

Inherited from

CurveProps.cachePaddingBottom


cachePaddingLeft?

optional cachePaddingLeft?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:111 

Controls the padding of the cached canvas used by this node.

Remarks

By default, the size of the cache is determined based on the bounding box of the node and its children. That includes effects such as stroke or shadow. This property can be used to expand the cache area further. Usually used to account for custom effects created by shaders.

Inherited from

CurveProps.cachePaddingLeft


cachePaddingRight?

optional cachePaddingRight?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:115 

Controls the padding of the cached canvas used by this node.

Remarks

By default, the size of the cache is determined based on the bounding box of the node and its children. That includes effects such as stroke or shadow. This property can be used to expand the cache area further. Usually used to account for custom effects created by shaders.

Inherited from

CurveProps.cachePaddingRight


cachePaddingTop?

optional cachePaddingTop?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:103 

Controls the padding of the cached canvas used by this node.

Remarks

By default, the size of the cache is determined based on the bounding box of the node and its children. That includes effects such as stroke or shadow. This property can be used to expand the cache area further. Usually used to account for custom effects created by shaders.

Inherited from

CurveProps.cachePaddingTop


children?

optional children?: SignalValue<ComponentChildren>

Defined in: 2d/src/lib/components/Node.ts:71 

Inherited from

CurveProps.children


clip?

optional clip?: SignalValue<boolean>

Defined in: 2d/src/lib/components/Layout.ts:193 

Inherited from

CurveProps.clip


closed?

optional closed?: SignalValue<boolean>

Defined in: 2d/src/lib/components/Curve.ts:22 

Whether the curve should be closed.

Remarks

Closed curves have their start and end points connected.

Inherited from

CurveProps.closed


columnGap?

optional columnGap?: SignalValue<Length>

Defined in: 2d/src/lib/components/Layout.ts:93 

Inherited from

CurveProps.columnGap


composite?

optional composite?: SignalValue<boolean>

Defined in: 2d/src/lib/components/Node.ts:121 

Inherited from

CurveProps.composite


compositeOperation?

optional compositeOperation?: SignalValue<GlobalCompositeOperation>

Defined in: 2d/src/lib/components/Node.ts:122 

Inherited from

CurveProps.compositeOperation


direction?

optional direction?: SignalValue<FlexDirection>

Defined in: 2d/src/lib/components/Layout.ts:82 

Inherited from

CurveProps.direction


end?

optional end?: SignalValue<number>

Defined in: 2d/src/lib/components/Curve.ts:38 

A percentage from the start after which the curve should be clipped.

Remarks

The portion of the curve that comes after the given percentage will be made invisible.

This property is usefully for animating the curve appearing on the screen. The value of 0 means the very start of the curve (accounting for the startOffset) while 1 means the very end (accounting for the endOffset).

Inherited from

CurveProps.end


endArrow?

optional endArrow?: SignalValue<boolean>

Defined in: 2d/src/lib/components/Curve.ts:46 

Whether to display an arrow at the end of the visible curve.

Remarks

Use arrowSize to control the size of the arrow.

Inherited from

CurveProps.endArrow


endOffset?

optional endOffset?: SignalValue<number>

Defined in: 2d/src/lib/components/Curve.ts:42 

The offset in pixels from the end of the curve.

Remarks

This property lets you specify where along the defined curve the actual visible portion ends. For example, setting it to 20 will make the last 20 pixels of the curve invisible.

This property is useful for trimming the curve using a fixed distance. If you want to animate the curve appearing on the screen, use end instead.

Inherited from

CurveProps.endOffset


fill?

optional fill?: SignalValue<PossibleCanvasStyle>

Defined in: 2d/src/lib/components/Shape.ts:18 

Inherited from

CurveProps.fill


filters?

optional filters?: SignalValue<Filter[]>

Defined in: 2d/src/lib/components/Node.ts:91 

Inherited from

CurveProps.filters


fontFamily?

optional fontFamily?: SignalValue<string>

Defined in: 2d/src/lib/components/Layout.ts:96 

Inherited from

CurveProps.fontFamily


fontSize?

optional fontSize?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:97 

Inherited from

CurveProps.fontSize


fontStyle?

optional fontStyle?: SignalValue<string>

Defined in: 2d/src/lib/components/Layout.ts:98 

Inherited from

CurveProps.fontStyle


fontWeight?

optional fontWeight?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:99 

Inherited from

CurveProps.fontWeight


gap?

optional gap?: SignalValue<Length>

Defined in: 2d/src/lib/components/Layout.ts:94 

Inherited from

CurveProps.gap


grow?

optional grow?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:84 

Inherited from

CurveProps.grow


height?

optional height?: SignalValue<Length>

Defined in: 2d/src/lib/components/Layout.ts:63 

Inherited from

CurveProps.height


justifyContent?

optional justifyContent?: SignalValue<FlexContent>

Defined in: 2d/src/lib/components/Layout.ts:88 

Inherited from

CurveProps.justifyContent


key?

optional key?: string

Defined in: 2d/src/lib/components/Node.ts:76 

Inherited from

CurveProps.key


layout?

optional layout?: LayoutMode

Defined in: 2d/src/lib/components/Layout.ts:59 

Inherited from

CurveProps.layout


left?

optional left?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Layout.ts:147 

The position of the left edge of this node.

Remarks

This shortcut property will set the node’s position so that the left edge ends up in the given place. If present, overrides the NodeProps.position property.

Inherited from

CurveProps.left


letterSpacing?

optional letterSpacing?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:101 

Inherited from

CurveProps.letterSpacing


lineCap?

optional lineCap?: SignalValue<CanvasLineCap>

Defined in: 2d/src/lib/components/Shape.ts:23 

Inherited from

CurveProps.lineCap


lineDash?

optional lineDash?: SignalValue<number[]>

Defined in: 2d/src/lib/components/Shape.ts:24 

Inherited from

CurveProps.lineDash


lineDashOffset?

optional lineDashOffset?: SignalValue<number>

Defined in: 2d/src/lib/components/Shape.ts:25 

Inherited from

CurveProps.lineDashOffset


lineHeight?

optional lineHeight?: SignalValue<Length>

Defined in: 2d/src/lib/components/Layout.ts:100 

Inherited from

CurveProps.lineHeight


lineJoin?

optional lineJoin?: SignalValue<CanvasLineJoin>

Defined in: 2d/src/lib/components/Shape.ts:22 

Inherited from

CurveProps.lineJoin


lineWidth?

optional lineWidth?: SignalValue<number>

Defined in: 2d/src/lib/components/Shape.ts:21 

Inherited from

CurveProps.lineWidth


margin?

optional margin?: SignalValue<PossibleSpacing>

Defined in: 2d/src/lib/components/Layout.ts:74 

Inherited from

CurveProps.margin


marginBottom?

optional marginBottom?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:71 

Inherited from

CurveProps.marginBottom


marginLeft?

optional marginLeft?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:72 

Inherited from

CurveProps.marginLeft


marginRight?

optional marginRight?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:73 

Inherited from

CurveProps.marginRight


marginTop?

optional marginTop?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:70 

Inherited from

CurveProps.marginTop


maxHeight?

optional maxHeight?: SignalValue<LengthLimit>

Defined in: 2d/src/lib/components/Layout.ts:65 

Inherited from

CurveProps.maxHeight


maxWidth?

optional maxWidth?: SignalValue<LengthLimit>

Defined in: 2d/src/lib/components/Layout.ts:64 

Inherited from

CurveProps.maxWidth


middle?

optional middle?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Layout.ts:120 

The position of the center of this node.

Remarks

This shortcut property will set the node’s position so that the center ends up in the given place. If present, overrides the NodeProps.position property. When offset is not set, this will be the same as the NodeProps.position.

Inherited from

CurveProps.middle


minHeight?

optional minHeight?: SignalValue<LengthLimit>

Defined in: 2d/src/lib/components/Layout.ts:67 

Inherited from

CurveProps.minHeight


minWidth?

optional minWidth?: SignalValue<LengthLimit>

Defined in: 2d/src/lib/components/Layout.ts:66 

Inherited from

CurveProps.minWidth


offset?

optional offset?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Layout.ts:109 

Inherited from

CurveProps.offset


offsetX?

optional offsetX?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:107 

Inherited from

CurveProps.offsetX


offsetY?

optional offsetY?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:108 

Inherited from

CurveProps.offsetY


opacity?

optional opacity?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:90 

Inherited from

CurveProps.opacity


p0?

optional p0?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/QuadBezier.ts:11 


p0X?

optional p0X?: SignalValue<number>

Defined in: 2d/src/lib/components/QuadBezier.ts:12 


p0Y?

optional p0Y?: SignalValue<number>

Defined in: 2d/src/lib/components/QuadBezier.ts:13 


p1?

optional p1?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/QuadBezier.ts:15 


p1X?

optional p1X?: SignalValue<number>

Defined in: 2d/src/lib/components/QuadBezier.ts:16 


p1Y?

optional p1Y?: SignalValue<number>

Defined in: 2d/src/lib/components/QuadBezier.ts:17 


p2?

optional p2?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/QuadBezier.ts:19 


p2X?

optional p2X?: SignalValue<number>

Defined in: 2d/src/lib/components/QuadBezier.ts:20 


p2Y?

optional p2Y?: SignalValue<number>

Defined in: 2d/src/lib/components/QuadBezier.ts:21 


padding?

optional padding?: SignalValue<PossibleSpacing>

Defined in: 2d/src/lib/components/Layout.ts:80 

Inherited from

CurveProps.padding


paddingBottom?

optional paddingBottom?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:77 

Inherited from

CurveProps.paddingBottom


paddingLeft?

optional paddingLeft?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:78 

Inherited from

CurveProps.paddingLeft


paddingRight?

optional paddingRight?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:79 

Inherited from

CurveProps.paddingRight


paddingTop?

optional paddingTop?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:76 

Inherited from

CurveProps.paddingTop


position?

optional position?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Node.ts:80 

Inherited from

CurveProps.position


ratio?

optional ratio?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:68 

Inherited from

CurveProps.ratio


ref?

optional ref?: ReferenceReceiver<any>

Defined in: 2d/src/lib/components/Node.ts:70 

Inherited from

CurveProps.ref


optional right?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Layout.ts:156 

The position of the right edge of this node.

Remarks

This shortcut property will set the node’s position so that the right edge ends up in the given place. If present, overrides the NodeProps.position property.

Inherited from

CurveProps.right


rotation?

optional rotation?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:81 

Inherited from

CurveProps.rotation


rowGap?

optional rowGap?: SignalValue<Length>

Defined in: 2d/src/lib/components/Layout.ts:92 

Inherited from

CurveProps.rowGap


scale?

optional scale?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Node.ts:84 

Inherited from

CurveProps.scale


scaleX?

optional scaleX?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:82 

Inherited from

CurveProps.scaleX


scaleY?

optional scaleY?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:83 

Inherited from

CurveProps.scaleY


shaders?

optional shaders?: PossibleShaderConfig

Defined in: 2d/src/lib/components/Node.ts:126 

Experimental

Inherited from

CurveProps.shaders


shadowBlur?

optional shadowBlur?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:94 

Inherited from

CurveProps.shadowBlur


shadowColor?

optional shadowColor?: SignalValue<PossibleColor>

Defined in: 2d/src/lib/components/Node.ts:93 

Inherited from

CurveProps.shadowColor


shadowOffset?

optional shadowOffset?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Node.ts:97 

Inherited from

CurveProps.shadowOffset


shadowOffsetX?

optional shadowOffsetX?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:95 

Inherited from

CurveProps.shadowOffsetX


shadowOffsetY?

optional shadowOffsetY?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:96 

Inherited from

CurveProps.shadowOffsetY


shrink?

optional shrink?: SignalValue<number>

Defined in: 2d/src/lib/components/Layout.ts:85 

Inherited from

CurveProps.shrink


size?

optional size?: SignalValue<PossibleVector2<Length>>

Defined in: 2d/src/lib/components/Layout.ts:106 

Inherited from

CurveProps.size


skew?

optional skew?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Node.ts:87 

Inherited from

CurveProps.skew


skewX?

optional skewX?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:85 

Inherited from

CurveProps.skewX


skewY?

optional skewY?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:86 

Inherited from

CurveProps.skewY


spawner?

optional spawner?: SignalValue<ComponentChildren>

Defined in: 2d/src/lib/components/Node.ts:75 

Deprecated

Use children instead.

Inherited from

CurveProps.spawner


start?

optional start?: SignalValue<number>

Defined in: 2d/src/lib/components/Curve.ts:26 

A percentage from the start before which the curve should be clipped.

Remarks

The portion of the curve that comes before the given percentage will be made invisible.

This property is usefully for animating the curve appearing on the screen. The value of 0 means the very start of the curve (accounting for the startOffset) while 1 means the very end (accounting for the endOffset).

Inherited from

CurveProps.start


startArrow?

optional startArrow?: SignalValue<boolean>

Defined in: 2d/src/lib/components/Curve.ts:34 

Whether to display an arrow at the start of the visible curve.

Remarks

Use arrowSize to control the size of the arrow.

Inherited from

CurveProps.startArrow


startOffset?

optional startOffset?: SignalValue<number>

Defined in: 2d/src/lib/components/Curve.ts:30 

The offset in pixels from the start of the curve.

Remarks

This property lets you specify where along the defined curve the actual visible portion starts. For example, setting it to 20 will make the first 20 pixels of the curve invisible.

This property is useful for trimming the curve using a fixed distance. If you want to animate the curve appearing on the screen, use start instead.

Inherited from

CurveProps.startOffset


stroke?

optional stroke?: SignalValue<PossibleCanvasStyle>

Defined in: 2d/src/lib/components/Shape.ts:19 

Inherited from

CurveProps.stroke


strokeFirst?

optional strokeFirst?: SignalValue<boolean>

Defined in: 2d/src/lib/components/Shape.ts:20 

Inherited from

CurveProps.strokeFirst


tagName?

optional tagName?: keyof HTMLElementTagNameMap

Defined in: 2d/src/lib/components/Layout.ts:60 

Inherited from

CurveProps.tagName


textAlign?

optional textAlign?: SignalValue<CanvasTextAlign>

Defined in: 2d/src/lib/components/Layout.ts:104 

Inherited from

CurveProps.textAlign


textDirection?

optional textDirection?: SignalValue<CanvasDirection>

Defined in: 2d/src/lib/components/Layout.ts:103 

Inherited from

CurveProps.textDirection


textWrap?

optional textWrap?: SignalValue<TextWrap>

Defined in: 2d/src/lib/components/Layout.ts:102 

Inherited from

CurveProps.textWrap


top?

optional top?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Layout.ts:129 

The position of the top edge of this node.

Remarks

This shortcut property will set the node’s position so that the top edge ends up in the given place. If present, overrides the NodeProps.position property.

Inherited from

CurveProps.top


topLeft?

optional topLeft?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Layout.ts:165 

The position of the top left corner of this node.

Remarks

This shortcut property will set the node’s position so that the top left corner ends up in the given place. If present, overrides the NodeProps.position property.

Inherited from

CurveProps.topLeft


topRight?

optional topRight?: SignalValue<PossibleVector2>

Defined in: 2d/src/lib/components/Layout.ts:174 

The position of the top right corner of this node.

Remarks

This shortcut property will set the node’s position so that the top right corner ends up in the given place. If present, overrides the NodeProps.position property.

Inherited from

CurveProps.topRight


width?

optional width?: SignalValue<Length>

Defined in: 2d/src/lib/components/Layout.ts:62 

Inherited from

CurveProps.width


wrap?

optional wrap?: SignalValue<FlexWrap>

Defined in: 2d/src/lib/components/Layout.ts:86 

Inherited from

CurveProps.wrap


x?

optional x?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:78 

Inherited from

CurveProps.x


y?

optional y?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:79 

Inherited from

CurveProps.y


zIndex?

optional zIndex?: SignalValue<number>

Defined in: 2d/src/lib/components/Node.ts:88 

Inherited from

CurveProps.zIndex

© 2026 Haven Technologies, Inc.
Interface: QuadBezierProps – Revideo