ShapeProps
interface ShapeProps extends LayoutProps
Extended by
Properties
alignContent
Inherited from LayoutProps.alignContent
alignItems
Inherited from LayoutProps.alignItems
alignSelf
Inherited from LayoutProps.alignSelf
antialiased
antialiased?: SignalValueboolean
basis
Inherited from LayoutProps.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.
LayoutProps.bottom
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.
LayoutProps.bottomLeft
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.
LayoutProps.bottomRight
cache
cache?: SignalValueboolean
LayoutProps.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
.
LayoutProps.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
.
LayoutProps.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
.
LayoutProps.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
.
LayoutProps.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
.
LayoutProps.cachePaddingTop
children
Inherited from LayoutProps.children
clip
clip?: SignalValueboolean
LayoutProps.clip
columnGap
Inherited from LayoutProps.columnGap
composite
composite?: SignalValueboolean
LayoutProps.composite
compositeOperation
compositeOperation?: SignalValueGlobalCompositeOperation
LayoutProps.compositeOperation
direction
Inherited from LayoutProps.direction
fill
filters
Inherited from LayoutProps.filters
fontFamily
fontFamily?: SignalValuestring
LayoutProps.fontFamily
fontSize
fontSize?: SignalValuenumber
LayoutProps.fontSize
fontStyle
fontStyle?: SignalValuestring
LayoutProps.fontStyle
fontWeight
fontWeight?: SignalValuenumber
LayoutProps.fontWeight
gap
Inherited from LayoutProps.gap
grow
grow?: SignalValuenumber
LayoutProps.grow
height
Inherited from LayoutProps.height
justifyContent
Inherited from LayoutProps.justifyContent
key
key?: string
LayoutProps.key
layout
Inherited from LayoutProps.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.
LayoutProps.left
letterSpacing
letterSpacing?: SignalValuenumber
LayoutProps.letterSpacing
lineCap
lineCap?: SignalValueCanvasLineCap
lineDash
lineDash?: SignalValuenumber[]
lineDashOffset
lineDashOffset?: SignalValuenumber
lineHeight
Inherited from LayoutProps.lineHeight
lineJoin
lineJoin?: SignalValueCanvasLineJoin
lineWidth
lineWidth?: SignalValuenumber
margin
Inherited from LayoutProps.margin
marginBottom
marginBottom?: SignalValuenumber
LayoutProps.marginBottom
marginLeft
marginLeft?: SignalValuenumber
LayoutProps.marginLeft
marginRight
marginRight?: SignalValuenumber
LayoutProps.marginRight
marginTop
marginTop?: SignalValuenumber
LayoutProps.marginTop
maxHeight
Inherited from LayoutProps.maxHeight
maxWidth
Inherited from LayoutProps.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
.
LayoutProps.middle
minHeight
Inherited from LayoutProps.minHeight
minWidth
Inherited from LayoutProps.minWidth
offset
offset?: SignalValuePossibleVector2number
LayoutProps.offset
offsetX
offsetX?: SignalValuenumber
LayoutProps.offsetX
offsetY
offsetY?: SignalValuenumber
LayoutProps.offsetY
opacity
opacity?: SignalValuenumber
LayoutProps.opacity
padding
Inherited from LayoutProps.padding
paddingBottom
paddingBottom?: SignalValuenumber
LayoutProps.paddingBottom
paddingLeft
paddingLeft?: SignalValuenumber
LayoutProps.paddingLeft
paddingRight
paddingRight?: SignalValuenumber
LayoutProps.paddingRight
paddingTop
paddingTop?: SignalValuenumber
LayoutProps.paddingTop
position
position?: SignalValuePossibleVector2number
LayoutProps.position
ratio
ratio?: SignalValuenumber
LayoutProps.ratio
ref
ref?: ReferenceReceiverany
LayoutProps.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.
LayoutProps.right
rotation
rotation?: SignalValuenumber
LayoutProps.rotation
rowGap
Inherited from LayoutProps.rowGap
scale
scale?: SignalValuePossibleVector2number
LayoutProps.scale
scaleX
scaleX?: SignalValuenumber
LayoutProps.scaleX
scaleY
scaleY?: SignalValuenumber
LayoutProps.scaleY
shaders
shaders?: PossibleShaderConfig
LayoutProps.shaders
shadowBlur
shadowBlur?: SignalValuenumber
LayoutProps.shadowBlur
shadowColor
Inherited from LayoutProps.shadowColor
shadowOffset
Inherited from LayoutProps.shadowOffset
shadowOffsetX
shadowOffsetX?: SignalValuenumber
LayoutProps.shadowOffsetX
shadowOffsetY
shadowOffsetY?: SignalValuenumber
LayoutProps.shadowOffsetY
shrink
shrink?: SignalValuenumber
LayoutProps.shrink
size
Inherited from LayoutProps.size
skew
skew?: SignalValuePossibleVector2number
LayoutProps.skew
skewX
skewX?: SignalValuenumber
LayoutProps.skewX
skewY
skewY?: SignalValuenumber
LayoutProps.skewY
spawner
Deprecated
Use children
instead.
LayoutProps.spawner
stroke
strokeFirst
strokeFirst?: SignalValueboolean
tagName
tagName?: keyof HTMLElementTagNameMap
LayoutProps.tagName
textAlign
textAlign?: SignalValueCanvasTextAlign
LayoutProps.textAlign
textDirection
textDirection?: SignalValueCanvasDirection
LayoutProps.textDirection
textWrap
Inherited from LayoutProps.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.
LayoutProps.top
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.
LayoutProps.topLeft
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.
LayoutProps.topRight
width
Inherited from LayoutProps.width
wrap
Inherited from LayoutProps.wrap
x
x?: SignalValuenumber
LayoutProps.x
y
y?: SignalValuenumber
LayoutProps.y
zIndex
zIndex?: SignalValuenumber
LayoutProps.zIndex