arrowShapeProps
Public readonly variable
Signature
arrowShapeProps: {
labelColor: import('../styles/StyleProp').EnumStyleProp<
| 'black'
| 'blue'
| 'green'
| 'grey'
| 'light-blue'
| 'light-green'
| 'light-red'
| 'light-violet'
| 'orange'
| 'red'
| 'violet'
| 'yellow'
>
color: import('../styles/StyleProp').EnumStyleProp<
| 'black'
| 'blue'
| 'green'
| 'grey'
| 'light-blue'
| 'light-green'
| 'light-red'
| 'light-violet'
| 'orange'
| 'red'
| 'violet'
| 'yellow'
>
fill: import('../styles/StyleProp').EnumStyleProp<
'none' | 'pattern' | 'semi' | 'solid'
>
dash: import('../styles/StyleProp').EnumStyleProp<
'dashed' | 'dotted' | 'draw' | 'solid'
>
size: import('../styles/StyleProp').EnumStyleProp<'l' | 'm' | 's' | 'xl'>
arrowheadStart: import('../styles/StyleProp').EnumStyleProp<
| 'arrow'
| 'bar'
| 'diamond'
| 'dot'
| 'inverted'
| 'none'
| 'pipe'
| 'square'
| 'triangle'
>
arrowheadEnd: import('../styles/StyleProp').EnumStyleProp<
| 'arrow'
| 'bar'
| 'diamond'
| 'dot'
| 'inverted'
| 'none'
| 'pipe'
| 'square'
| 'triangle'
>
font: import('../styles/StyleProp').EnumStyleProp<
'draw' | 'mono' | 'sans' | 'serif'
>
start: T.UnionValidator<
'type',
{
binding: T.ObjectValidator<{
type: 'binding'
boundShapeId: import('..').TLShapeId
normalizedAnchor: import('../misc/geometry-types').VecModel
isExact: boolean
isPrecise: boolean
}>
point: T.ObjectValidator<{
type: 'point'
x: number
y: number
}>
},
never
>
end: T.UnionValidator<
'type',
{
binding: T.ObjectValidator<{
type: 'binding'
boundShapeId: import('..').TLShapeId
normalizedAnchor: import('../misc/geometry-types').VecModel
isExact: boolean
isPrecise: boolean
}>
point: T.ObjectValidator<{
type: 'point'
x: number
y: number
}>
},
never
>
bend: T.Validator<number>
text: T.Validator<string>
labelPosition: T.Validator<number>
}
References
EnumStyleProp, T.UnionValidator, T.ObjectValidator, TLShapeId, VecModel, T.Validator
Source