LayoutProps
interface LayoutProps extends NodeProps
Extended by
Properties
alignContent
alignItems
alignSelf
basis
bottom
bottom?: SignalValuePossibleVector2number
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 position
property.
bottomLeft
bottomLeft?: SignalValuePossibleVector2number
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 position
property.
bottomRight
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 position
property.
cache
cache?: SignalValueboolean
NodeProps.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 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.cachePadding
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
.
NodeProps.cachePaddingBottom
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
.
NodeProps.cachePaddingLeft
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
.
NodeProps.cachePaddingRight
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
.
NodeProps.cachePaddingTop
children
Inherited from NodeProps.children
clip
clip?: SignalValueboolean
columnGap
composite
composite?: SignalValueboolean
NodeProps.composite
compositeOperation
compositeOperation?: SignalValueGlobalCompositeOperation
NodeProps.compositeOperation
direction
filters
Inherited from NodeProps.filters
fontFamily
fontFamily?: SignalValuestring
fontSize
fontSize?: SignalValuenumber
fontStyle
fontStyle?: SignalValuestring
fontWeight
fontWeight?: SignalValuenumber
gap
grow
grow?: SignalValuenumber
height
justifyContent
key
key?: string
NodeProps.key
layout
left
left?: SignalValuePossibleVector2number
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 position
property.
letterSpacing
letterSpacing?: SignalValuenumber
lineHeight
margin
marginBottom
marginBottom?: SignalValuenumber
marginLeft
marginLeft?: SignalValuenumber
marginRight
marginRight?: SignalValuenumber
marginTop
marginTop?: SignalValuenumber
maxHeight
maxWidth
middle
middle?: SignalValuePossibleVector2number
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 position
property.
When offset
is not set, this will be the same as the
position
.
minHeight
minWidth
offset
offset?: SignalValuePossibleVector2number
offsetX
offsetX?: SignalValuenumber
offsetY
offsetY?: SignalValuenumber
opacity
opacity?: SignalValuenumber
NodeProps.opacity
padding
paddingBottom
paddingBottom?: SignalValuenumber
paddingLeft
paddingLeft?: SignalValuenumber
paddingRight
paddingRight?: SignalValuenumber
paddingTop
paddingTop?: SignalValuenumber
position
position?: SignalValuePossibleVector2number
NodeProps.position
ratio
ratio?: SignalValuenumber
ref
ref?: ReferenceReceiverany
NodeProps.ref
right
right?: SignalValuePossibleVector2number
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 position
property.
rotation
rotation?: SignalValuenumber
NodeProps.rotation
rowGap
scale
scale?: SignalValuePossibleVector2number
NodeProps.scale
scaleX
scaleX?: SignalValuenumber
NodeProps.scaleX
scaleY
scaleY?: SignalValuenumber
NodeProps.scaleY
shaders
shaders?: PossibleShaderConfig
NodeProps.shaders
shadowBlur
shadowBlur?: SignalValuenumber
NodeProps.shadowBlur
shadowColor
Inherited from NodeProps.shadowColor
shadowOffset
Inherited from NodeProps.shadowOffset
shadowOffsetX
shadowOffsetX?: SignalValuenumber
NodeProps.shadowOffsetX
shadowOffsetY
shadowOffsetY?: SignalValuenumber
NodeProps.shadowOffsetY
shrink
shrink?: SignalValuenumber
size
skew
skew?: SignalValuePossibleVector2number
NodeProps.skew
skewX
skewX?: SignalValuenumber
NodeProps.skewX
skewY
skewY?: SignalValuenumber
NodeProps.skewY
spawner
Deprecated
Use children
instead.
NodeProps.spawner
tagName
tagName?: keyof HTMLElementTagNameMap
textAlign
textAlign?: SignalValueCanvasTextAlign
textDirection
textDirection?: SignalValueCanvasDirection
textWrap
top
top?: SignalValuePossibleVector2number
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 position
property.
topLeft
topLeft?: SignalValuePossibleVector2number
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 position
property.
topRight
topRight?: SignalValuePossibleVector2number
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 position
property.
width
wrap
x
x?: SignalValuenumber
NodeProps.x
y
y?: SignalValuenumber
NodeProps.y
zIndex
zIndex?: SignalValuenumber
NodeProps.zIndex