SplineProps
interface
SplineProps
extends
CurveProps
Properties
alignContent
Inherited from
CurveProps.alignContent
alignItems
Inherited from
CurveProps.alignItems
alignSelf
Inherited from
CurveProps.alignSelf
antialiased
antialiased
?:
SignalValue
boolean
CurveProps.antialiased
arrowSize
arrowSize
?:
SignalValue
number
Controls the size of the end and start arrows.
To make the arrows visible make sure to enable
startArrow
and/or
endArrow
.
CurveProps.arrowSize
basis
Inherited from
CurveProps.basis
bottom
bottom
?:
SignalValue
PossibleVector2
number
The position of the bottom edge of this node.
This shortcut property will set the node's position so that the bottom edgeends up in the given place.If present, overrides the
position
property.
CurveProps.bottom
bottomLeft
bottomLeft
?:
SignalValue
PossibleVector2
number
The position of the bottom left corner of this node.
This shortcut property will set the node's position so that the bottom leftcorner ends up in the given place.If present, overrides the
position
property.
CurveProps.bottomLeft
bottomRight
bottomRight
?:
SignalValue
PossibleVector2
number
The position of the bottom right corner of this node.
This shortcut property will set the node's position so that the bottomright corner ends up in the given place.If present, overrides the
position
property.
CurveProps.bottomRight
cache
cache
?:
SignalValue
boolean
CurveProps.cache
cachePadding
Controls the padding of the cached canvas used by this node.
By default, the size of the cache is determined based on the bounding boxof the node and its children. That includes effects such as stroke orshadow. This property can be used to expand the cache area further.Usually used to account for custom effects created by
shaders
.
CurveProps.cachePadding
cachePaddingBottom
cachePaddingBottom
?:
SignalValue
number
Controls the padding of the cached canvas used by this node.
By default, the size of the cache is determined based on the bounding boxof the node and its children. That includes effects such as stroke orshadow. This property can be used to expand the cache area further.Usually used to account for custom effects created by
shaders
.
CurveProps.cachePaddingBottom
cachePaddingLeft
cachePaddingLeft
?:
SignalValue
number
Controls the padding of the cached canvas used by this node.
By default, the size of the cache is determined based on the bounding boxof the node and its children. That includes effects such as stroke orshadow. This property can be used to expand the cache area further.Usually used to account for custom effects created by
shaders
.
CurveProps.cachePaddingLeft
cachePaddingRight
cachePaddingRight
?:
SignalValue
number
Controls the padding of the cached canvas used by this node.
By default, the size of the cache is determined based on the bounding boxof the node and its children. That includes effects such as stroke orshadow. This property can be used to expand the cache area further.Usually used to account for custom effects created by
shaders
.
CurveProps.cachePaddingRight
cachePaddingTop
cachePaddingTop
?:
SignalValue
number
Controls the padding of the cached canvas used by this node.
By default, the size of the cache is determined based on the bounding boxof the node and its children. That includes effects such as stroke orshadow. This property can be used to expand the cache area further.Usually used to account for custom effects created by
shaders
.
CurveProps.cachePaddingTop
children
Inherited from
CurveProps.children
clip
clip
?:
SignalValue
boolean
CurveProps.clip
closed
closed
?:
SignalValue
boolean
Whether the curve should be closed.
Closed curves have their start and end points connected.
Inherited from
CurveProps.closed
columnGap
Inherited from
CurveProps.columnGap
composite
composite
?:
SignalValue
boolean
CurveProps.composite
compositeOperation
compositeOperation
?:
SignalValue
GlobalCompositeOperation
CurveProps.compositeOperation
direction
Inherited from
CurveProps.direction
end
end
?:
SignalValue
number
A percentage from the start after which the curve should be clipped.
The portion of the curve that comes after the given percentage will bemade 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
).
CurveProps.end
endArrow
endArrow
?:
SignalValue
boolean
Whether to display an arrow at the end of the visible curve.
Use
arrowSize
to control the size of the arrow.
CurveProps.endArrow
endOffset
endOffset
?:
SignalValue
number
The offset in pixels from the end of the curve.
This property lets you specify where along the defined curve the actualvisible portion ends. For example, setting it to
20
will make the last20 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.
CurveProps.endOffset
fill
Inherited from
CurveProps.fill
filters
filters
?:
SignalValue
Filter
[]
CurveProps.filters
fontFamily
fontFamily
?:
SignalValue
string
CurveProps.fontFamily
fontSize
fontSize
?:
SignalValue
number
CurveProps.fontSize
fontStyle
fontStyle
?:
SignalValue
string
CurveProps.fontStyle
fontWeight
fontWeight
?:
SignalValue
number
CurveProps.fontWeight
gap
gap
?:
SignalValue
Length
CurveProps.gap
grow
grow
?:
SignalValue
number
CurveProps.grow
height
Inherited from
CurveProps.height
justifyContent
Inherited from
CurveProps.justifyContent
key
key
?:
string
CurveProps.key
layout
layout
?:
LayoutMode
CurveProps.layout
left
left
?:
SignalValue
PossibleVector2
number
The position of the left edge of this node.
This shortcut property will set the node's position so that the left edgeends up in the given place.If present, overrides the
position
property.
CurveProps.left
letterSpacing
letterSpacing
?:
SignalValue
number
CurveProps.letterSpacing
lineCap
lineCap
?:
SignalValue
CanvasLineCap
CurveProps.lineCap
lineDash
lineDash
?:
SignalValue
number
[]
CurveProps.lineDash
lineDashOffset
lineDashOffset
?:
SignalValue
number
CurveProps.lineDashOffset
lineHeight
Inherited from
CurveProps.lineHeight
lineJoin
lineJoin
?:
SignalValue
CanvasLineJoin
CurveProps.lineJoin
lineWidth
lineWidth
?:
SignalValue
number
CurveProps.lineWidth
margin
Inherited from
CurveProps.margin
marginBottom
marginBottom
?:
SignalValue
number
CurveProps.marginBottom
marginLeft
marginLeft
?:
SignalValue
number
CurveProps.marginLeft
marginRight
marginRight
?:
SignalValue
number
CurveProps.marginRight
marginTop
marginTop
?:
SignalValue
number
CurveProps.marginTop
maxHeight
Inherited from
CurveProps.maxHeight
maxWidth
Inherited from
CurveProps.maxWidth
middle
middle
?:
SignalValue
PossibleVector2
number
The position of the center of this node.
This shortcut property will set the node's position so that the center endsup in the given place.If present, overrides the
position
property.When
offset
is not set, this will be the same as the
position
.
CurveProps.middle
minHeight
Inherited from
CurveProps.minHeight
minWidth
Inherited from
CurveProps.minWidth
offset
offset
?:
SignalValue
PossibleVector2
number
CurveProps.offset
offsetX
offsetX
?:
SignalValue
number
CurveProps.offsetX
offsetY
offsetY
?:
SignalValue
number
CurveProps.offsetY
opacity
opacity
?:
SignalValue
number
CurveProps.opacity
padding
Inherited from
CurveProps.padding
paddingBottom
paddingBottom
?:
SignalValue
number
CurveProps.paddingBottom
paddingLeft
paddingLeft
?:
SignalValue
number
CurveProps.paddingLeft
paddingRight
paddingRight
?:
SignalValue
number
CurveProps.paddingRight
paddingTop
paddingTop
?:
SignalValue
number
CurveProps.paddingTop
points
points
?:
SignalValue
SignalValue
PossibleVector2
number
[]
The knots of the spline as an array of knots with auto-calculated handles.
You can control the smoothness of the resulting curvevia the
smoothness
property.
position
position
?:
SignalValue
PossibleVector2
number
CurveProps.position
ratio
ratio
?:
SignalValue
number
CurveProps.ratio
ref
ref
?:
ReferenceReceiver
any
CurveProps.ref
right
right
?:
SignalValue
PossibleVector2
number
The position of the right edge of this node.
This shortcut property will set the node's position so that the right edgeends up in the given place.If present, overrides the
position
property.
CurveProps.right
rotation
rotation
?:
SignalValue
number
CurveProps.rotation
rowGap
Inherited from
CurveProps.rowGap
scale
scale
?:
SignalValue
PossibleVector2
number
CurveProps.scale
scaleX
scaleX
?:
SignalValue
number
CurveProps.scaleX
scaleY
scaleY
?:
SignalValue
number
CurveProps.scaleY
shaders
shaders
?:
PossibleShaderConfig
CurveProps.shaders
shadowBlur
shadowBlur
?:
SignalValue
number
CurveProps.shadowBlur
shadowColor
Inherited from
CurveProps.shadowColor
shadowOffset
shadowOffset
?:
SignalValue
PossibleVector2
number
CurveProps.shadowOffset
shadowOffsetX
shadowOffsetX
?:
SignalValue
number
CurveProps.shadowOffsetX
shadowOffsetY
shadowOffsetY
?:
SignalValue
number
CurveProps.shadowOffsetY
shrink
shrink
?:
SignalValue
number
CurveProps.shrink
size
Inherited from
CurveProps.size
skew
skew
?:
SignalValue
PossibleVector2
number
CurveProps.skew
skewX
skewX
?:
SignalValue
number
CurveProps.skewX
skewY
skewY
?:
SignalValue
number
CurveProps.skewY
smoothness
smoothness
?:
SignalValue
number
The smoothness of the spline when using auto-calculated handles.
This property is only applied to knots that don't use explicit handles.
spawner
Deprecated
Use
children
instead.
CurveProps.spawner
start
start
?:
SignalValue
number
A percentage from the start before which the curve should be clipped.
The portion of the curve that comes before the given percentage will bemade 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
).
CurveProps.start
startArrow
startArrow
?:
SignalValue
boolean
Whether to display an arrow at the start of the visible curve.
Use
arrowSize
to control the size of the arrow.
CurveProps.startArrow
startOffset
startOffset
?:
SignalValue
number
The offset in pixels from the start of the curve.
This property lets you specify where along the defined curve the actualvisible portion starts. For example, setting it to
20
will make the first20 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.
CurveProps.startOffset
stroke
Inherited from
CurveProps.stroke
strokeFirst
strokeFirst
?:
SignalValue
boolean
CurveProps.strokeFirst
tagName
tagName
?:
keyof
HTMLElementTagNameMap
CurveProps.tagName
textAlign
textAlign
?:
SignalValue
CanvasTextAlign
CurveProps.textAlign
textDirection
textDirection
?:
SignalValue
CanvasDirection
CurveProps.textDirection
textWrap
Inherited from
CurveProps.textWrap
top
top
?:
SignalValue
PossibleVector2
number
The position of the top edge of this node.
This shortcut property will set the node's position so that the top edgeends up in the given place.If present, overrides the
position
property.
CurveProps.top
topLeft
topLeft
?:
SignalValue
PossibleVector2
number
The position of the top left corner of this node.
This shortcut property will set the node's position so that the top leftcorner ends up in the given place.If present, overrides the
position
property.
CurveProps.topLeft
topRight
topRight
?:
SignalValue
PossibleVector2
number
The position of the top right corner of this node.
This shortcut property will set the node's position so that the top rightcorner ends up in the given place.If present, overrides the
position
property.
CurveProps.topRight
width
Inherited from
CurveProps.width
wrap
Inherited from
CurveProps.wrap
x
x
?:
SignalValue
number
CurveProps.x
y
y
?:
SignalValue
number
CurveProps.y
zIndex
zIndex
?:
SignalValue
number
CurveProps.zIndex