
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
139 lines
1.8 KiB
Text
139 lines
1.8 KiB
Text
---
|
|
title: StrokePoint
|
|
status: published
|
|
category: primitives
|
|
group: Interface
|
|
author: api
|
|
date: 06/23/2023
|
|
order: 87
|
|
---<Small>Public Interface</Small>
|
|
|
|
<details>
|
|
<summary>Table of Contents</summary>
|
|
- [Properties](#properties)
|
|
- [distance](#StrokePoint-distance-member)
|
|
- [input](#StrokePoint-input-member)
|
|
- [point](#StrokePoint-point-member)
|
|
- [pressure](#StrokePoint-pressure-member)
|
|
- [radius](#StrokePoint-radius-member)
|
|
- [runningLength](#StrokePoint-runningLength-member)
|
|
- [vector](#StrokePoint-vector-member)
|
|
</details>
|
|
|
|
The points returned by `getStrokePoints`, and the input for `getStrokeOutlinePoints`
|
|
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
interface StrokePoint {}
|
|
```
|
|
|
|
---
|
|
|
|
## Properties
|
|
|
|
### `distance` \{#StrokePoint-distance-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
distance: number
|
|
```
|
|
|
|
---
|
|
|
|
### `input` \{#StrokePoint-input-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
input: Vec2d
|
|
```
|
|
|
|
##### References
|
|
|
|
[Vec2d](/gen/primitives/Vec2d-class)
|
|
|
|
---
|
|
|
|
### `point` \{#StrokePoint-point-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
point: Vec2d
|
|
```
|
|
|
|
##### References
|
|
|
|
[Vec2d](/gen/primitives/Vec2d-class)
|
|
|
|
---
|
|
|
|
### `pressure` \{#StrokePoint-pressure-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
pressure: number
|
|
```
|
|
|
|
---
|
|
|
|
### `radius` \{#StrokePoint-radius-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
radius: number
|
|
```
|
|
|
|
---
|
|
|
|
### `runningLength` \{#StrokePoint-runningLength-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
runningLength: number
|
|
```
|
|
|
|
---
|
|
|
|
### `vector` \{#StrokePoint-vector-member}
|
|
|
|
<Small>Public PropertySignature</Small>
|
|
|
|
##### Signature
|
|
|
|
|
|
```ts
|
|
vector: Vec2d
|
|
```
|
|
|
|
##### References
|
|
|
|
[Vec2d](/gen/primitives/Vec2d-class)
|
|
|
|
---
|
|
|