tldraw/apps/docs/content/gen/drawShapeProps-var.mdx
alex c893a02878
remove lock option from highlighter (#1703)
Highlighter is autolocked, so we shouldn't show the lock icon 

### Change Type

- [x] `patch` — Bug fix


[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Add a step-by-step description of how to test your PR here.
2.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- We no longer show the tool lock option for highlighter - it didn't do
anything anyway
2023-07-04 10:41:14 +00:00

49 lines
996 B
Text

---
title: drawShapeProps
status: published
category: tlschema
group: Variable
author: api
date: 06/23/2023
order: 25
---<Small>Public Readonly Variable</Small>
##### Signature
```ts
drawShapeProps: {
color: import('..').EnumStyleProp<
| 'black'
| 'blue'
| 'green'
| 'grey'
| 'light-blue'
| 'light-green'
| 'light-red'
| 'light-violet'
| 'orange'
| 'red'
| 'violet'
| 'yellow'
>
fill: import('..').EnumStyleProp<'none' | 'pattern' | 'semi' | 'solid'>
dash: import('..').EnumStyleProp<'dashed' | 'dotted' | 'draw' | 'solid'>
size: import('..').EnumStyleProp<'l' | 'm' | 's' | 'xl'>
segments: T.ArrayOfValidator<{
type: 'free' | 'straight'
points: import('../misc/geometry-types').Vec2dModel[]
}>
isComplete: T.Validator<boolean>
isClosed: T.Validator<boolean>
isPen: T.Validator<boolean>
}
```
##### References
[EnumStyleProp](/gen/tlschema/EnumStyleProp-class), [Vec2dModel](/gen/tlschema/Vec2dModel-interface)