NodeProps
interface NodeProps
Extended by
Properties​
cache​
cache?: SignalValueboolean
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 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.
cachePaddingBottom​
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.
cachePaddingLeft​
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.
cachePaddingRight​
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.
cachePaddingTop​
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.
children​
composite​
composite?: SignalValueboolean
compositeOperation​
compositeOperation?: SignalValueGlobalCompositeOperation
filters​
key​
key?: string
opacity​
opacity?: SignalValuenumber
position​
position?: SignalValuePossibleVector2number
ref​
ref?: ReferenceReceiverany
rotation​
rotation?: SignalValuenumber
scale​
scale?: SignalValuePossibleVector2number
scaleX​
scaleX?: SignalValuenumber
scaleY​
scaleY?: SignalValuenumber
shaders​
shaders?: PossibleShaderConfig
shadowBlur​
shadowBlur?: SignalValuenumber
shadowColor​
shadowOffset​
shadowOffsetX​
shadowOffsetX?: SignalValuenumber
shadowOffsetY​
shadowOffsetY?: SignalValuenumber
skew​
skew?: SignalValuePossibleVector2number
skewX​
skewX?: SignalValuenumber
skewY​
skewY?: SignalValuenumber
spawner​
Deprecated
Use children instead.
x​
x?: SignalValuenumber
y​
y?: SignalValuenumber
zIndex​
zIndex?: SignalValuenumber