Skip to main content

LayoutProps

interface LayoutProps extends NodeProps

Extended by

Properties

alignContent


alignItems


alignSelf


basis


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

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

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

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

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

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

Inherited from NodeProps.cachePaddingTop

children

Inherited from NodeProps.children

clip

clip?: SignalValueboolean

columnGap


composite

Inherited from NodeProps.composite

compositeOperation

compositeOperation?: SignalValueGlobalCompositeOperation
Inherited from NodeProps.compositeOperation

direction


filters

Inherited from NodeProps.filters

fontFamily


fontSize


fontStyle


fontWeight


gap


grow


height


justifyContent


key

key?: string
Inherited from NodeProps.key

layout


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 position property.


letterSpacing


lineHeight


margin


marginBottom


marginLeft


marginRight


marginTop


maxHeight


maxWidth


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 position property. When offset is not set, this will be the same as the position.


minHeight


minWidth


offset


offsetX


offsetY


opacity

Inherited from NodeProps.opacity

padding


paddingBottom


paddingLeft


paddingRight


paddingTop


position

Inherited from NodeProps.position

ratio


ref

Inherited from NodeProps.ref

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

Inherited from NodeProps.rotation

rowGap


scale

Inherited from NodeProps.scale

scaleX

Inherited from NodeProps.scaleX

scaleY

Inherited from NodeProps.scaleY

shaders

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

shadowBlur

Inherited from NodeProps.shadowBlur

shadowColor

Inherited from NodeProps.shadowColor

shadowOffset

Inherited from NodeProps.shadowOffset

shadowOffsetX

Inherited from NodeProps.shadowOffsetX

shadowOffsetY

Inherited from NodeProps.shadowOffsetY

shrink


size


skew

Inherited from NodeProps.skew

skewX

Inherited from NodeProps.skewX

skewY

Inherited from NodeProps.skewY

spawner

Deprecated

Use children instead.

Inherited from NodeProps.spawner

tagName

tagName?: keyof HTMLElementTagNameMap

textAlign

textAlign?: SignalValueCanvasTextAlign

textDirection

textDirection?: SignalValueCanvasDirection

textWrap


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 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 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 position property.


width


wrap


x

x?: SignalValuenumber
Inherited from NodeProps.x

y

y?: SignalValuenumber
Inherited from NodeProps.y

zIndex

Inherited from NodeProps.zIndex