
This PR moves the docs site to the private repo while keeping the docs content on the public repo. ### Change Type - [x] `documentation`
121 lines
2.5 KiB
Text
121 lines
2.5 KiB
Text
---
|
|
title: arrowShapeProps
|
|
status: published
|
|
category: tlschema
|
|
group: Variable
|
|
author: api
|
|
date: 06/23/2023
|
|
order: 2
|
|
---<Small>Public Readonly Variable</Small>
|
|
|
|
|
|
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
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').Vec2dModel
|
|
isExact: 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').Vec2dModel
|
|
isExact: boolean
|
|
}>
|
|
point: T.ObjectValidator<{
|
|
type: 'point'
|
|
x: number
|
|
y: number
|
|
}>
|
|
},
|
|
never
|
|
>
|
|
bend: T.Validator<number>
|
|
text: T.Validator<string>
|
|
}
|
|
```
|
|
|
|
##### References
|
|
|
|
[EnumStyleProp](/gen/tlschema/EnumStyleProp-class), [T.UnionValidator](/gen/validate/UnionValidator-class), [T.ObjectValidator](/gen/validate/ObjectValidator-class), [TLShapeId](/gen/tlschema/TLShapeId-type), [Vec2dModel](/gen/tlschema/Vec2dModel-interface), [T.Validator](/gen/validate/Validator-class)
|
|
|