CurveProps
interface CurveProps extends ShapeProps
Extended by
CirclePropsCubicBezierPropsLinePropsPathPropsPolygonPropsQuadBezierPropsRayPropsRectPropsSplineProps
Properties​
alignContent​
Inherited from ShapeProps.alignContentalignItems​
Inherited from ShapeProps.alignItemsalignSelf​
Inherited from ShapeProps.alignSelfantialiased​
antialiased?: SignalValueboolean
ShapeProps.antialiasedarrowSize​
arrowSize?: SignalValuenumber
Controls the size of the end and start arrows.
To make the arrows visible make sure to enable startArrow and/or
endArrow.
basis​
Inherited from ShapeProps.basisbottom​
bottom?: SignalValuePossibleVector2number
The position of the bottom edge of this node.
This shortcut property will set the node's position so that the bottom edge
ends up in the given place.
If present, overrides the position property.
ShapeProps.bottombottomLeft​
bottomLeft?: SignalValuePossibleVector2number
The position of the bottom left corner of this node.
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 position property.
ShapeProps.bottomLeftbottomRight​
The position of the bottom right corner of this node.
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 position property.
ShapeProps.bottomRightcache​
cache?: SignalValueboolean
ShapeProps.cachecachePadding​
Controls the padding of the cached canvas used by this node.
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.
ShapeProps.cachePaddingcachePaddingBottom​
cachePaddingBottom?: SignalValuenumber
Controls the padding of the cached canvas used by this node.
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.
ShapeProps.cachePaddingBottomcachePaddingLeft​
cachePaddingLeft?: SignalValuenumber
Controls the padding of the cached canvas used by this node.
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.
ShapeProps.cachePaddingLeftcachePaddingRight​
cachePaddingRight?: SignalValuenumber
Controls the padding of the cached canvas used by this node.
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.
ShapeProps.cachePaddingRightcachePaddingTop​
cachePaddingTop?: SignalValuenumber
Controls the padding of the cached canvas used by this node.
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.
ShapeProps.cachePaddingTopchildren​
Inherited from ShapeProps.childrenclip​
clip?: SignalValueboolean
ShapeProps.clipclosed​
closed?: SignalValueboolean
Whether the curve should be closed.
Closed curves have their start and end points connected.
columnGap​
Inherited from ShapeProps.columnGapcomposite​
composite?: SignalValueboolean
ShapeProps.compositecompositeOperation​
compositeOperation?: SignalValueGlobalCompositeOperation
ShapeProps.compositeOperationdirection​
Inherited from ShapeProps.directionend​
end?: SignalValuenumber
A percentage from the start after which the curve should be clipped.
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).
endArrow​
endArrow?: SignalValueboolean
Whether to display an arrow at the end of the visible curve.
Use arrowSize to control the size of the arrow.
endOffset​
endOffset?: SignalValuenumber
The offset in pixels from the end of the curve.
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.
fill​
Inherited from ShapeProps.fillfilters​
Inherited from ShapeProps.filtersfontFamily​
fontFamily?: SignalValuestring
ShapeProps.fontFamilyfontSize​
fontSize?: SignalValuenumber
ShapeProps.fontSizefontStyle​
fontStyle?: SignalValuestring
ShapeProps.fontStylefontWeight​
fontWeight?: SignalValuenumber
ShapeProps.fontWeightgap​
Inherited from ShapeProps.gapgrow​
grow?: SignalValuenumber
ShapeProps.growheight​
Inherited from ShapeProps.heightjustifyContent​
Inherited from ShapeProps.justifyContentkey​
key?: string
ShapeProps.keylayout​
Inherited from ShapeProps.layoutleft​
left?: SignalValuePossibleVector2number
The position of the left edge of this node.
This shortcut property will set the node's position so that the left edge
ends up in the given place.
If present, overrides the position property.
ShapeProps.leftletterSpacing​
letterSpacing?: SignalValuenumber
ShapeProps.letterSpacinglineCap​
lineCap?: SignalValueCanvasLineCap
ShapeProps.lineCaplineDash​
lineDash?: SignalValuenumber[]
ShapeProps.lineDashlineDashOffset​
lineDashOffset?: SignalValuenumber
ShapeProps.lineDashOffsetlineHeight​
Inherited from ShapeProps.lineHeightlineJoin​
lineJoin?: SignalValueCanvasLineJoin
ShapeProps.lineJoinlineWidth​
lineWidth?: SignalValuenumber
ShapeProps.lineWidthmargin​
Inherited from ShapeProps.marginmarginBottom​
marginBottom?: SignalValuenumber
ShapeProps.marginBottommarginLeft​
marginLeft?: SignalValuenumber
ShapeProps.marginLeftmarginRight​
marginRight?: SignalValuenumber
ShapeProps.marginRightmarginTop​
marginTop?: SignalValuenumber
ShapeProps.marginTopmaxHeight​
Inherited from ShapeProps.maxHeightmaxWidth​
Inherited from ShapeProps.maxWidthmiddle​
middle?: SignalValuePossibleVector2number
The position of the center of this node.
This shortcut property will set the node's position so that the center ends
up in the given place.
If present, overrides the position property.
When offset is not set, this will be the same as the
position.
ShapeProps.middleminHeight​
Inherited from ShapeProps.minHeightminWidth​
Inherited from ShapeProps.minWidthoffset​
offset?: SignalValuePossibleVector2number
ShapeProps.offsetoffsetX​
offsetX?: SignalValuenumber
ShapeProps.offsetXoffsetY​
offsetY?: SignalValuenumber
ShapeProps.offsetYopacity​
opacity?: SignalValuenumber
ShapeProps.opacitypadding​
Inherited from ShapeProps.paddingpaddingBottom​
paddingBottom?: SignalValuenumber
ShapeProps.paddingBottompaddingLeft​
paddingLeft?: SignalValuenumber
ShapeProps.paddingLeftpaddingRight​
paddingRight?: SignalValuenumber
ShapeProps.paddingRightpaddingTop​
paddingTop?: SignalValuenumber
ShapeProps.paddingTopposition​
position?: SignalValuePossibleVector2number
ShapeProps.positionratio​
ratio?: SignalValuenumber
ShapeProps.ratioref​
ref?: ReferenceReceiverany
ShapeProps.refright​
right?: SignalValuePossibleVector2number
The position of the right edge of this node.
This shortcut property will set the node's position so that the right edge
ends up in the given place.
If present, overrides the position property.
ShapeProps.rightrotation​
rotation?: SignalValuenumber
ShapeProps.rotationrowGap​
Inherited from ShapeProps.rowGapscale​
scale?: SignalValuePossibleVector2number
ShapeProps.scalescaleX​
scaleX?: SignalValuenumber
ShapeProps.scaleXscaleY​
scaleY?: SignalValuenumber
ShapeProps.scaleYshaders​
shaders?: PossibleShaderConfig
ShapeProps.shadersshadowBlur​
shadowBlur?: SignalValuenumber
ShapeProps.shadowBlurshadowColor​
Inherited from ShapeProps.shadowColorshadowOffset​
Inherited from ShapeProps.shadowOffsetshadowOffsetX​
shadowOffsetX?: SignalValuenumber
ShapeProps.shadowOffsetXshadowOffsetY​
shadowOffsetY?: SignalValuenumber
ShapeProps.shadowOffsetYshrink​
shrink?: SignalValuenumber
ShapeProps.shrinksize​
Inherited from ShapeProps.sizeskew​
skew?: SignalValuePossibleVector2number
ShapeProps.skewskewX​
skewX?: SignalValuenumber
ShapeProps.skewXskewY​
skewY?: SignalValuenumber
ShapeProps.skewYspawner​
Deprecated
Use children instead.
ShapeProps.spawnerstart​
start?: SignalValuenumber
A percentage from the start before which the curve should be clipped.
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).
startArrow​
startArrow?: SignalValueboolean
Whether to display an arrow at the start of the visible curve.
Use arrowSize to control the size of the arrow.
startOffset​
startOffset?: SignalValuenumber
The offset in pixels from the start of the curve.
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.
stroke​
Inherited from ShapeProps.strokestrokeFirst​
strokeFirst?: SignalValueboolean
ShapeProps.strokeFirsttagName​
tagName?: keyof HTMLElementTagNameMap
ShapeProps.tagNametextAlign​
textAlign?: SignalValueCanvasTextAlign
ShapeProps.textAligntextDirection​
textDirection?: SignalValueCanvasDirection
ShapeProps.textDirectiontextWrap​
Inherited from ShapeProps.textWraptop​
top?: SignalValuePossibleVector2number
The position of the top edge of this node.
This shortcut property will set the node's position so that the top edge
ends up in the given place.
If present, overrides the position property.
ShapeProps.toptopLeft​
topLeft?: SignalValuePossibleVector2number
The position of the top left corner of this node.
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 position property.
ShapeProps.topLefttopRight​
topRight?: SignalValuePossibleVector2number
The position of the top right corner of this node.
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 position property.
ShapeProps.topRightwidth​
Inherited from ShapeProps.widthwrap​
Inherited from ShapeProps.wrapx​
x?: SignalValuenumber
ShapeProps.xy​
y?: SignalValuenumber
ShapeProps.yzIndex​
zIndex?: SignalValuenumber
ShapeProps.zIndex