CurveProps
interface CurveProps extends ShapeProps
Extended by
CirclePropsCubicBezierPropsLinePropsPathPropsPolygonPropsQuadBezierPropsRayPropsRectPropsSplineProps
Properties
alignContent
alignContent?: SignalValueFlexContent
ShapeProps.alignContentalignItems
alignItems?: SignalValueFlexItems
ShapeProps.alignItemsalignSelf
alignSelf?: SignalValueFlexItems
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
basis?: SignalValueFlexBasis
ShapeProps.basisbottom
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 NodeProps.position property.
ShapeProps.bottombottomLeft
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 NodeProps.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 NodeProps.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
children?: SignalValueComponentChildren
ShapeProps.childrenclip
clip?: SignalValueboolean
ShapeProps.clipclosed
closed?: SignalValueboolean
Whether the curve should be closed.
Closed curves have their start and end points connected.
columnGap
columnGap?: SignalValueLength
ShapeProps.columnGapcomposite
composite?: SignalValueboolean
ShapeProps.compositecompositeOperation
compositeOperation?: SignalValueGlobalCompositeOperation
ShapeProps.compositeOperationdirection
direction?: SignalValueFlexDirection
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
fill?: SignalValuePossibleCanvasStyle
ShapeProps.fillfilters
filters?: SignalValueFilter[]
ShapeProps.filtersfontFamily
fontFamily?: SignalValuestring
ShapeProps.fontFamilyfontSize
fontSize?: SignalValuenumber
ShapeProps.fontSizefontStyle
fontStyle?: SignalValuestring
ShapeProps.fontStylefontWeight
fontWeight?: SignalValuenumber
ShapeProps.fontWeightgap
gap?: SignalValuePossibleVector2Length
ShapeProps.gapgrow
grow?: SignalValuenumber
ShapeProps.growheight
height?: SignalValueLength
ShapeProps.heightjustifyContent
justifyContent?: SignalValueFlexContent
ShapeProps.justifyContentkey
key?: string
ShapeProps.keylayout
layout?: LayoutMode
ShapeProps.layoutleft
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 NodeProps.position property.
ShapeProps.leftletterSpacing
letterSpacing?: SignalValuenumber
ShapeProps.letterSpacinglineCap
lineCap?: SignalValueCanvasLineCap
ShapeProps.lineCaplineDash
lineDash?: SignalValuenumber[]
ShapeProps.lineDashlineDashOffset
lineDashOffset?: SignalValuenumber
ShapeProps.lineDashOffsetlineHeight
lineHeight?: SignalValueLength
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
maxHeight?: SignalValueLengthLimit
ShapeProps.maxHeightmaxWidth
maxWidth?: SignalValueLengthLimit
ShapeProps.maxWidthmiddle
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 NodeProps.position property.
When offset is not set, this will be the same as the
NodeProps.position.
ShapeProps.middleminHeight
minHeight?: SignalValueLengthLimit
ShapeProps.minHeightminWidth
minWidth?: SignalValueLengthLimit
ShapeProps.minWidthoffset
Inherited from 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
Inherited from ShapeProps.positionratio
ratio?: SignalValuenumber
ShapeProps.ratioref
ref?: ReferenceReceiverany
ShapeProps.refright
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 NodeProps.position property.
ShapeProps.rightrotation
rotation?: SignalValuenumber
ShapeProps.rotationrowGap
rowGap?: SignalValueLength
ShapeProps.rowGapscale
Inherited from 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
size?: SignalValuePossibleVector2Length
ShapeProps.sizeskew
Inherited from ShapeProps.skewskewX
skewX?: SignalValuenumber
ShapeProps.skewXskewY
skewY?: SignalValuenumber
ShapeProps.skewYspawner
spawner?: SignalValueComponentChildren
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
stroke?: SignalValuePossibleCanvasStyle
ShapeProps.strokestrokeFirst
strokeFirst?: SignalValueboolean
ShapeProps.strokeFirsttagName
tagName?: unknown
ShapeProps.tagNametextAlign
textAlign?: SignalValueCanvasTextAlign
ShapeProps.textAligntextDirection
textDirection?: SignalValueCanvasDirection
ShapeProps.textDirectiontextWrap
textWrap?: SignalValueTextWrap
ShapeProps.textWraptop
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 NodeProps.position property.
ShapeProps.toptopLeft
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 NodeProps.position property.
ShapeProps.topLefttopRight
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 NodeProps.position property.
ShapeProps.topRightwidth
width?: SignalValueLength
ShapeProps.widthwrap
wrap?: SignalValueFlexWrap
ShapeProps.wrapx
x?: SignalValuenumber
ShapeProps.xy
y?: SignalValuenumber
ShapeProps.yzIndex
zIndex?: SignalValuenumber
ShapeProps.zIndex