Interface: RichTextProps
Defined in: nodes/text/richtext-node.ts:15
Extends
Properties
align
align:
TextAlign
Defined in: nodes/text/richtext-node.ts:29
bottomCenter
Defined in: nodes/base/node.ts:112
Inherited from
bottomLeft
Defined in: nodes/base/node.ts:109
Inherited from
bottomRight
Defined in: nodes/base/node.ts:110
Inherited from
center
Defined in: nodes/base/node.ts:106
Inherited from
children
Defined in: nodes/base/node.ts:96
Inherited from
clip?
optionalclip?:boolean
Defined in: nodes/geometry/shape-node.ts:41
When true, content drawn outside this shape's outline is clipped away.
Inherited from
colSpan
colSpan:
number
Defined in: nodes/base/node.ts:132
How many grid columns this child spans. Default 1.
Inherited from
column
column:
number
Defined in: nodes/base/node.ts:128
1-based column index for explicit grid placement. Undefined = auto-placed.
Inherited from
effects
effects:
ChainableFx
Defined in: nodes/base/node.ts:93
Inherited from
end?
optionalend?:number
Defined in: nodes/geometry/shape-node.ts:39
Inherited from
fill?
optionalfill?:ChainableFill
Defined in: nodes/geometry/shape-node.ts:27
Fill layer(s). Each item can be:
- A plain CSS color string → treated as a solid fill
- A fill prop object (SolidFillProp, LinearGradientFillProp, …)
- An already-resolved fill object
- A FillChain from the
Fillbuilder (e.g.Fill.color('red'))
Inherited from
flex
flex:
number
Defined in: nodes/base/node.ts:124
Proportional share of the free space along the parent's main axis,
relative to sibling fill children (like Flutter's Expanded(flex:)).
Only meaningful when this node fills the main axis — in a row that's
width:'fill', in a column height:'fill'. Two siblings with flex 2
and 1 split the free space 2:1. Defaults to 1. Specifying flex without
an explicit width/height defaults both to 'fill'.
Inherited from
fontFamily
fontFamily:
string
Defined in: nodes/text/richtext-node.ts:18
Default font family inherited by spans that don't set one.
fontSize
fontSize:
number
Defined in: nodes/text/richtext-node.ts:20
Default font size inherited by spans that don't set one.
fontStyle
fontStyle:
FontStyle
Defined in: nodes/text/richtext-node.ts:24
Default font style inherited by spans that don't set one.
fontWeight
fontWeight:
number
Defined in: nodes/text/richtext-node.ts:22
Default font weight inherited by spans that don't set one.
height
height:
SizeInput
Defined in: nodes/base/node.ts:89
Inherited from
leftCenter
Defined in: nodes/base/node.ts:113
Inherited from
letterSpacing
letterSpacing:
number
Defined in: nodes/text/richtext-node.ts:26
Default letter spacing inherited by spans that don't set one.
lineHeight
lineHeight:
number
Defined in: nodes/text/richtext-node.ts:28
Line height multiplier applied to each run's font size.
opacity
opacity:
number
Defined in: nodes/base/node.ts:92
Inherited from
padding
padding:
PaddingProps
Defined in: nodes/base/node.ts:95
Inner spacing between this node's edges and its content/children.
Inherited from
pivot
pivot:
Vector2
Defined in: nodes/base/node.ts:99
Pivot point for rotation and scale. (0,0)=center, (-1,1)=top-left, (1,-1)=bottom-right. Set automatically when an anchor prop is used.
Inherited from
rightCenter
Defined in: nodes/base/node.ts:114
Inherited from
rotation
rotation:
number
Defined in: nodes/base/node.ts:91
Inherited from
row
row:
number
Defined in: nodes/base/node.ts:130
1-based row index for explicit grid placement. Undefined = auto-placed.
Inherited from
rowSpan
rowSpan:
number
Defined in: nodes/base/node.ts:134
How many grid rows this child spans. Default 1.
Inherited from
scale
scale:
number
Defined in: nodes/base/node.ts:90
Inherited from
shadow?
optionalshadow?:ShadowProp|ShadowProp[]
Defined in: nodes/geometry/shape-node.ts:37
Shadow layer(s). fill inside each shadow accepts the same loose
values as the top-level fill prop.
Inherited from
spans
Defined in: nodes/text/richtext-node.ts:16
start?
optionalstart?:number
Defined in: nodes/geometry/shape-node.ts:38
Inherited from
stroke?
optionalstroke?:StrokeProp|StrokeProp[]
Defined in: nodes/geometry/shape-node.ts:32
Stroke layer(s). fill inside each stroke accepts the same loose
values as the top-level fill prop.
Inherited from
topCenter
Defined in: nodes/base/node.ts:111
Inherited from
topLeft
Defined in: nodes/base/node.ts:107
Inherited from
topRight
Defined in: nodes/base/node.ts:108
Inherited from
width
width:
SizeInput
Defined in: nodes/base/node.ts:88
Inherited from
x
x:
number
Defined in: nodes/base/node.ts:86
Inherited from
y
y:
number
Defined in: nodes/base/node.ts:87