Skip to main content

PathProps

                            
                              
                                interface 
                                PathProps
                                extends 
                                
                                  
                                    
                                      CurveProps
                                    
                                  
                                
                              
                              

Properties

alignContent

Inherited from CurveProps.alignContent

alignItems

Inherited from CurveProps.alignItems

alignSelf

Inherited from CurveProps.alignSelf

antialiased

Inherited from CurveProps.antialiased

arrowSize

Controls the size of the end and start arrows.

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

Inherited from CurveProps.arrowSize

basis

Inherited from CurveProps.basis

bottom

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.

Inherited from CurveProps.bottom

bottomLeft

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.

Inherited from CurveProps.bottomLeft

bottomRight

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.

Inherited from CurveProps.bottomRight

cache

                            
                              
                                cache
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      boolean
                                    
                                  
                                
                              
                              
Inherited from 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 .

Inherited from CurveProps.cachePadding

cachePaddingBottom

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 .

Inherited from CurveProps.cachePaddingBottom

cachePaddingLeft

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 .

Inherited from CurveProps.cachePaddingLeft

cachePaddingRight

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 .

Inherited from CurveProps.cachePaddingRight

cachePaddingTop

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 .

Inherited from CurveProps.cachePaddingTop

children

Inherited from CurveProps.children

clip

                            
                              
                                clip
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      boolean
                                    
                                  
                                
                              
                              
Inherited from 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
                                    
                                  
                                
                              
                              
Inherited from CurveProps.composite

compositeOperation

                            
                              
                                compositeOperation
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      GlobalCompositeOperation
                                    
                                  
                                
                              
                              
Inherited from CurveProps.compositeOperation

data

                            
                              
                                data
                                : 
                                SignalValue
                                
                                  
                                    
                                      string
                                    
                                  
                                
                              
                              

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 ).

Inherited from 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.

Inherited from CurveProps.endArrow

endOffset

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.

Inherited from CurveProps.endOffset

fill

Inherited from CurveProps.fill

filters

                            
                              
                                filters
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      Filter
                                      []
                                    
                                  
                                
                              
                              
Inherited from CurveProps.filters

fontFamily

Inherited from CurveProps.fontFamily

fontSize

                            
                              
                                fontSize
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.fontSize

fontStyle

Inherited from CurveProps.fontStyle

fontWeight

Inherited from CurveProps.fontWeight

gap

Inherited from CurveProps.gap

grow

                            
                              
                                grow
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.grow

height

Inherited from CurveProps.height

justifyContent

Inherited from CurveProps.justifyContent

key

                            
                              
                                key
                                ?: 
                                string
                              
                              
Inherited from CurveProps.key

layout

Inherited from CurveProps.layout

left

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.

Inherited from CurveProps.left

letterSpacing

Inherited from CurveProps.letterSpacing

lineCap

                            
                              
                                lineCap
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      CanvasLineCap
                                    
                                  
                                
                              
                              
Inherited from CurveProps.lineCap

lineDash

                            
                              
                                lineDash
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                      []
                                    
                                  
                                
                              
                              
Inherited from CurveProps.lineDash

lineDashOffset

Inherited from CurveProps.lineDashOffset

lineHeight

Inherited from CurveProps.lineHeight

lineJoin

                            
                              
                                lineJoin
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      CanvasLineJoin
                                    
                                  
                                
                              
                              
Inherited from CurveProps.lineJoin

lineWidth

Inherited from CurveProps.lineWidth

margin

Inherited from CurveProps.margin

marginBottom

Inherited from CurveProps.marginBottom

marginLeft

Inherited from CurveProps.marginLeft

marginRight

Inherited from CurveProps.marginRight

marginTop

Inherited from CurveProps.marginTop

maxHeight

Inherited from CurveProps.maxHeight

maxWidth

Inherited from CurveProps.maxWidth

middle

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 .

Inherited from CurveProps.middle

minHeight

Inherited from CurveProps.minHeight

minWidth

Inherited from CurveProps.minWidth

offset

Inherited from CurveProps.offset

offsetX

                            
                              
                                offsetX
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.offsetX

offsetY

                            
                              
                                offsetY
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.offsetY

opacity

                            
                              
                                opacity
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.opacity

padding

Inherited from CurveProps.padding

paddingBottom

Inherited from CurveProps.paddingBottom

paddingLeft

Inherited from CurveProps.paddingLeft

paddingRight

Inherited from CurveProps.paddingRight

paddingTop

Inherited from CurveProps.paddingTop

position

Inherited from CurveProps.position

ratio

                            
                              
                                ratio
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.ratio

ref

                            
                              
                                ref
                                ?: 
                                ReferenceReceiver
                                
                                  
                                    
                                      any
                                    
                                  
                                
                              
                              
Inherited from CurveProps.ref

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.

Inherited from CurveProps.right

rotation

                            
                              
                                rotation
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.rotation

rowGap

Inherited from CurveProps.rowGap

scale

Inherited from CurveProps.scale

scaleX

                            
                              
                                scaleX
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.scaleX

scaleY

                            
                              
                                scaleY
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.scaleY

shaders

                            
                              
                                shaders
                                ?: 
                                PossibleShaderConfig
                              
                              
Experimental
This is an experimental feature . The behavior and API may change drastically between minor releases.
Inherited from CurveProps.shaders

shadowBlur

Inherited from CurveProps.shadowBlur

shadowColor

Inherited from CurveProps.shadowColor

shadowOffset

Inherited from CurveProps.shadowOffset

shadowOffsetX

Inherited from CurveProps.shadowOffsetX

shadowOffsetY

Inherited from CurveProps.shadowOffsetY

shrink

                            
                              
                                shrink
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.shrink

size

Inherited from CurveProps.size

skew

Inherited from CurveProps.skew

skewX

                            
                              
                                skewX
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.skewX

skewY

                            
                              
                                skewY
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.skewY

spawner

Deprecated

Use children instead.

Inherited from 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 ).

Inherited from 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.

Inherited from CurveProps.startArrow

startOffset

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.

Inherited from CurveProps.startOffset

stroke

Inherited from CurveProps.stroke

strokeFirst

Inherited from CurveProps.strokeFirst

tagName

                            
                              
                                tagName
                                ?: 
                                keyof 
                                HTMLElementTagNameMap
                              
                              
Inherited from CurveProps.tagName

textAlign

                            
                              
                                textAlign
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      CanvasTextAlign
                                    
                                  
                                
                              
                              
Inherited from CurveProps.textAlign

textDirection

                            
                              
                                textDirection
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      CanvasDirection
                                    
                                  
                                
                              
                              
Inherited from CurveProps.textDirection

textWrap

Inherited from CurveProps.textWrap

top

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.

Inherited from CurveProps.top

topLeft

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.

Inherited from CurveProps.topLeft

topRight

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.

Inherited from CurveProps.topRight

width

Inherited from CurveProps.width

wrap

Inherited from CurveProps.wrap

x

                            
                              
                                x
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.x

y

                            
                              
                                y
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.y

zIndex

                            
                              
                                zIndex
                                ?: 
                                SignalValue
                                
                                  
                                    
                                      number
                                    
                                  
                                
                              
                              
Inherited from CurveProps.zIndex