LayoutProps
interface LayoutProps extends NodeProps
Extended by
ShapeProps
Properties
alignContent
alignContent?: SignalValueFlexContent
alignItems
alignItems?: SignalValueFlexItems
alignSelf
alignSelf?: SignalValueFlexItems
anchor
anchorX
anchorX?: SignalValuenumber
anchorY
anchorY?: SignalValuenumber
basis
basis?: SignalValueFlexBasis
bottom
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.
bottomLeft
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.
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 NodeProps.position property.
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
children?: SignalValueComponentChildren
NodeProps.childrenclip
clip?: SignalValueboolean
columnGap
columnGap?: SignalValueLength
composite
composite?: SignalValueboolean
NodeProps.compositecompositeOperation
compositeOperation?: SignalValueGlobalCompositeOperation
NodeProps.compositeOperationdirection
direction?: SignalValueFlexDirection
filters
filters?: SignalValueFilter[]
NodeProps.filtersfontFamily
fontFamily?: SignalValuestring
fontSize
fontSize?: SignalValuenumber
fontStyle
fontStyle?: SignalValuestring
fontWeight
fontWeight?: SignalValuenumber
gap
gap?: SignalValuePossibleVector2Length
grow
grow?: SignalValuenumber
height
height?: SignalValueLength
justifyContent
justifyContent?: SignalValueFlexContent
key
key?: string
NodeProps.keylayout
layout?: LayoutMode
left
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.
letterSpacing
letterSpacing?: SignalValuenumber
lineHeight
lineHeight?: SignalValueLength
margin
marginBottom
marginBottom?: SignalValuenumber
marginLeft
marginLeft?: SignalValuenumber
marginRight
marginRight?: SignalValuenumber
marginTop
marginTop?: SignalValuenumber
maxHeight
maxHeight?: SignalValueLengthLimit
maxWidth
maxWidth?: SignalValueLengthLimit
middle
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 anchor is not set, this will be the same as the
NodeProps.position.
minHeight
minHeight?: SignalValueLengthLimit
minWidth
minWidth?: SignalValueLengthLimit
opacity
opacity?: SignalValuenumber
NodeProps.opacitypadding
paddingBottom
paddingBottom?: SignalValuenumber
paddingLeft
paddingLeft?: SignalValuenumber
paddingRight
paddingRight?: SignalValuenumber
paddingTop
paddingTop?: SignalValuenumber
position
Inherited from NodeProps.positionratio
ratio?: SignalValuenumber
ref
ref?: ReferenceReceiverany
NodeProps.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.
rotation
rotation?: SignalValuenumber
NodeProps.rotationrowGap
rowGap?: SignalValueLength
scale
Inherited from 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.shadowOffsetYshrink
shrink?: SignalValuenumber
size
size?: SignalValuePossibleVector2Length
skew
Inherited from NodeProps.skewskewX
skewX?: SignalValuenumber
NodeProps.skewXskewY
skewY?: SignalValuenumber
NodeProps.skewYspawner
spawner?: SignalValueComponentChildren
Deprecated
Use children instead.
NodeProps.spawnertagName
tagName?: keyof HTMLElementTagNameMap
textAlign
textAlign?: SignalValueCanvasTextAlign
textDirection
textDirection?: SignalValueCanvasDirection
textWrap
textWrap?: SignalValueTextWrap
top
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.
topLeft
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.
topRight
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.
width
width?: SignalValueLength
wrap
wrap?: SignalValueFlexWrap
x
x?: SignalValuenumber
NodeProps.xy
y?: SignalValuenumber
NodeProps.yzIndex
zIndex?: SignalValuenumber
NodeProps.zIndex