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