KnotProps
interface KnotProps extends NodeProps
Properties​
auto​
How much to blend between the user-provided handles and the auto-calculated handles.
This property has no effect if no explicit handles are provided for the knot.
cache​
cache?: SignalValueboolean
NodeProps.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.
NodeProps.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.
NodeProps.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.
NodeProps.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.
NodeProps.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.
NodeProps.cachePaddingTopchildren​
Inherited from NodeProps.childrencomposite​
composite?: SignalValueboolean
NodeProps.compositecompositeOperation​
compositeOperation?: SignalValueGlobalCompositeOperation
NodeProps.compositeOperationendHandle​
endHandle?: SignalValuePossibleVector2number
The position of the knot's end handle. The position is provided relative to the knot's position.
By default, the position of the end handle will be the mirrored position
of the startHandle.
If neither an end handle nor a start handle is provided, the positions of
the handles gets calculated automatically to create smooth curve through
the knot. The smoothness of the resulting curve can be controlled via the
smoothness property.
It is also possible to blend between a user-defined position and the
auto-calculated position by using the auto property.
endHandleAuto​
endHandleAuto?: SignalValuenumber
filters​
Inherited from NodeProps.filterskey​
key?: string
NodeProps.keyopacity​
opacity?: SignalValuenumber
NodeProps.opacityposition​
position?: SignalValuePossibleVector2number
NodeProps.positionref​
ref?: ReferenceReceiverany
NodeProps.refrotation​
rotation?: SignalValuenumber
NodeProps.rotationscale​
scale?: SignalValuePossibleVector2number
NodeProps.scalescaleX​
scaleX?: SignalValuenumber
NodeProps.scaleXscaleY​
scaleY?: SignalValuenumber
NodeProps.scaleYshaders​
shaders?: PossibleShaderConfig
NodeProps.shadersshadowBlur​
shadowBlur?: SignalValuenumber
NodeProps.shadowBlurshadowColor​
Inherited from NodeProps.shadowColorshadowOffset​
Inherited from NodeProps.shadowOffsetshadowOffsetX​
shadowOffsetX?: SignalValuenumber
NodeProps.shadowOffsetXshadowOffsetY​
shadowOffsetY?: SignalValuenumber
NodeProps.shadowOffsetYskew​
skew?: SignalValuePossibleVector2number
NodeProps.skewskewX​
skewX?: SignalValuenumber
NodeProps.skewXskewY​
skewY?: SignalValuenumber
NodeProps.skewYspawner​
Deprecated
Use children instead.
NodeProps.spawnerstartHandle​
The position of the knot's start handle. The position is provided relative to the knot's position.
By default, the position of the start handle will be the mirrored position
of the endHandle.
If neither an end handle nor a start handle is provided, the positions of
the handles gets calculated automatically to create smooth curve through
the knot. The smoothness of the resulting curve can be controlled via the
smoothness property.
It is also possible to blend between a user-defined position and the
auto-calculated position by using the auto property.
startHandleAuto​
startHandleAuto?: SignalValuenumber
x​
x?: SignalValuenumber
NodeProps.xy​
y?: SignalValuenumber
NodeProps.yzIndex​
zIndex?: SignalValuenumber
NodeProps.zIndex